SslStream.HashAlgorithm Property

 

Gets the algorithm used for generating message authentication codes (MACs).

Namespace:   System.Net.Security
Assembly:  System (in System.dll)

Public Overridable ReadOnly Property HashAlgorithm As HashAlgorithmType

Exception Condition
InvalidOperationException

The HashAlgorithm property was accessed before the completion of the authentication process or the authentication process failed.

Message authentication algorithms generate message hashes and signatures used to detect tampering and forgery.

The following code example displays the cryptography settings for the specified stream.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: