Set packet security to authentication enabled and privacy protection enabled (SNMP v3 mode authPriv)

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

Syntax

C#
public void authPriv(
	byte[] userName,
	byte[] authenticationPassword,
	AuthenticationDigests authenticationProtocol,
	byte[] privacyPassword,
	PrivacyProtocols privacyProtocol
)
Visual Basic
Public Sub authPriv ( _
	userName As Byte(), _
	authenticationPassword As Byte(), _
	authenticationProtocol As AuthenticationDigests, _
	privacyPassword As Byte(), _
	privacyProtocol As PrivacyProtocols _
)
Visual C++
public:
void authPriv(
	array<unsigned char>^ userName, 
	array<unsigned char>^ authenticationPassword, 
	AuthenticationDigests authenticationProtocol, 
	array<unsigned char>^ privacyPassword, 
	PrivacyProtocols privacyProtocol
)

Parameters

userName
Type: array<System..::..Byte>[]()[][]
User name
authenticationPassword
Type: array<System..::..Byte>[]()[][]
Authentication password
authenticationProtocol
Type: SnmpSharpNet..::..AuthenticationDigests
Authentication protocol. See definitions in AuthenticationDigests enumeration.
privacyPassword
Type: array<System..::..Byte>[]()[][]
Privacy protection password.
privacyProtocol
Type: SnmpSharpNet..::..PrivacyProtocols
Privacy protocol. See definitions in PrivacyProtocols enumeration.

See Also