แก้ไข

แชร์ผ่าน


SecurityPackageContextConnectionInformation.Hash Property

Definition

Caution

KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherAlgorithmStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.

The Hash property contains the hashing algorithm used by this connection.

public:
 property System::Security::Authentication::HashAlgorithmType Hash { System::Security::Authentication::HashAlgorithmType get(); };
[System.Obsolete("KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherAlgorithmStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.", DiagnosticId="SYSLIB0058", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Security.Authentication.HashAlgorithmType Hash { get; }
public System.Security.Authentication.HashAlgorithmType Hash { get; }
[<System.Obsolete("KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherAlgorithmStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.", DiagnosticId="SYSLIB0058", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.Hash : System.Security.Authentication.HashAlgorithmType
member this.Hash : System.Security.Authentication.HashAlgorithmType
Public ReadOnly Property Hash As HashAlgorithmType

Property Value

The hashing algorithm used by this connection.

Attributes

Applies to