X509Certificate.TryGetCertHash(HashAlgorithmName, Span<Byte>, Int32) X509Certificate.TryGetCertHash(HashAlgorithmName, Span<Byte>, Int32) X509Certificate.TryGetCertHash(HashAlgorithmName, Span<Byte>, Int32) X509Certificate.TryGetCertHash(HashAlgorithmName, Span<Byte>, Int32) Method

Definition

public:
 virtual bool TryGetCertHash(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public virtual bool TryGetCertHash (System.Security.Cryptography.HashAlgorithmName hashAlgorithm, Span<byte> destination, out int bytesWritten);
abstract member TryGetCertHash : System.Security.Cryptography.HashAlgorithmName * Span<byte> *  -> bool
override this.TryGetCertHash : System.Security.Cryptography.HashAlgorithmName * Span<byte> *  -> bool
Public Overridable Function TryGetCertHash (hashAlgorithm As HashAlgorithmName, destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

Parameters

destination
Span<Byte>
bytesWritten
Int32 Int32 Int32 Int32

Returns

Applies to