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.9.1.0 (0.9.1)
Syntax
| Visual Basic |
|---|
Public Sub authNoPriv ( _
userName As Byte(), _
authenticationPassword As Byte(), _
authenticationProtocol As AuthenticationDigests _
) |
Parameters
- userName
- Type: array<System..::..Byte>[]()[][]
User name
- authenticationPassword
- Type: array<System..::..Byte>[]()[][]
Authentication password to use in authenticating the message. This
value has to match the password configured on the agent.
- authenticationProtocol
- 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