SocketTools .NET Edition

NntpClient.SecureHashAlgorithm Enumeration

Specifies the hash algorithms that the NntpClient class supports.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum NntpClient.SecureHashAlgorithm
[C#]
[Flags]
public enum NntpClient.SecureHashAlgorithm

Remarks

The NntpClient class uses the SecureHashAlgorithm enumeration to identify the message digest (hash) algorithm that was selected when a secure connection was established with the remote host.

Members

Member Name Description Value
hashNone No hash algorithm has been selected. This is not a secure connection with the server. 0
hashMD5 The MD5 algorithm was selected. This algorithm takes a message of arbitrary length and produces a 128-bit message digest. 1
hashSHA The SHA algorithm was selected. This algorithm produces a 160-bit message digest. 2

Requirements

Namespace: SocketTools

Assembly: SocketTools.NntpClient (in SocketTools.NntpClient.dll)

See Also

SocketTools Namespace