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