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:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public void authNoPriv( byte[] userName, byte[] authenticationPassword, AuthenticationDigests authenticationProtocol )
Public Sub authNoPriv ( _ userName As Byte(), _ authenticationPassword As Byte(), _ authenticationProtocol As AuthenticationDigests _ )
public: void authNoPriv( array<unsigned char>^ userName, array<unsigned char>^ authenticationPassword, AuthenticationDigests authenticationProtocol )
Parameters
- userName
- array<
Byte
>[]()[]
User name
- authenticationPassword
- array<
Byte
>[]()[]
Authentication password to use in authenticating the message. This value has to match the password configured on the agent.
- authenticationProtocol
- AuthenticationDigests
Authentication protocol to use. Available authentication protocols are: MD5 for HMAC-MD5 authentication, and SHA1 for HMAC-SHA1 message authentication.