Authenticate message for sending.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public void authenticateOutgoingMsg( byte[] userPassword, byte[] engineId, MutableByte wholeMessage, int authFieldOffset )
Public Sub authenticateOutgoingMsg ( _ userPassword As Byte(), _ engineId As Byte(), _ wholeMessage As MutableByte, _ authFieldOffset As Integer _ )
public: virtual void authenticateOutgoingMsg( array<unsigned char>^ userPassword, array<unsigned char>^ engineId, MutableByte^ wholeMessage, int authFieldOffset ) sealed
Parameters
- userPassword
- array<
Byte
>[]()[]
User password
- engineId
- array<
Byte
>[]()[]
Authoritative engine id
- wholeMessage
- MutableByte
Un-authenticated message with authenticationParameter field set to 12 byte OctetString with all bytes initialized to 0x00.
- authFieldOffset
- Int32
Offset of the authentication field in the wholeMessage buffer