11 references to ToHexString
aspire (1)
src\Shared\BackchannelConstants.cs (1)
712
var hex = Convert.
ToHexString
(bytes).ToLowerInvariant();
Aspire.Hosting (1)
src\Shared\BackchannelConstants.cs (1)
712
var hex = Convert.
ToHexString
(bytes).ToLowerInvariant();
dotnet (1)
Commands\Test\MTP\TestResultsDirectoryResolver.cs (1)
306
return Convert.
ToHexString
(hash.AsSpan(0, 8)).ToLowerInvariant();
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\TypeNameHash.cs (1)
32
return Convert.
ToHexString
(typeNameHashBytes);
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\PhysicalAddress.cs (1)
68
return Convert.
ToHexString
(_address.AsSpan());
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (2)
2767
return
ToHexString
(new ReadOnlySpan<byte>(inArray));
2790
return
ToHexString
(new ReadOnlySpan<byte>(inArray, offset, length));
System.Security.Cryptography (2)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (1)
222
return encodedId.Encode(static encoded => CreateAlgorithmUnknownException(Convert.
ToHexString
(encoded)));
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
468
return Convert.
ToHexString
(buffer.Slice(0, written));
System.Security.Cryptography.Pkcs (2)
Internal\Cryptography\PkcsHelpers.cs (1)
260
return Convert.
ToHexString
(ba);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (1)
222
return encodedId.Encode(static encoded => CreateAlgorithmUnknownException(Convert.
ToHexString
(encoded)));