Get instance of authentication protocol.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public static IAuthenticationDigest GetInstance(
	AuthenticationDigests authProtocol
)
Visual Basic
Public Shared Function GetInstance ( _
	authProtocol As AuthenticationDigests _
) As IAuthenticationDigest
Visual C++
public:
static IAuthenticationDigest^ GetInstance(
	AuthenticationDigests authProtocol
)

Parameters

authProtocol
Type: SnmpSharpNet..::..AuthenticationDigests
Authentication protocol code. Available codes are MD5, SHA1 or None

Return Value

Instance of the authentication protocol or null if unrecognized authentication protocol or value None is passed.

See Also