Set class security to enabled authentication and no privacy. To perform authentication, authentication password needs to be supplied and authentication protocol to be used to perform authentication. This method does not initialize the packet user name. Use SNMPV3Packet.SecurityName method to set the security name (also called user name) for this request.

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


public void authNoPriv(
	byte[] userName,
	byte[] authenticationPassword,
	AuthenticationDigests authenticationProtocol
Visual Basic
Public Sub authNoPriv ( _
	userName As Byte(), _
	authenticationPassword As Byte(), _
	authenticationProtocol As AuthenticationDigests _
Visual C++
void authNoPriv(
	array<unsigned char>^ userName, 
	array<unsigned char>^ authenticationPassword, 
	AuthenticationDigests authenticationProtocol


Type: array<System..::..Byte>[]()[][]
User name
Type: array<System..::..Byte>[]()[][]
Authentication password to use in authenticating the message. This value has to match the password configured on the agent.
Type: SnmpSharpNet..::..AuthenticationDigests
Authentication protocol to use. Available authentication protocols are: MD5 for HMAC-MD5 authentication, and SHA1 for HMAC-SHA1 message authentication.

See Also