PowerSNMP for .NET
Encode() Method




Encodes all SNMP version 1/2 messages.
Syntax
Public Overloads Overrides Function Encode() As Byte()
Dim instance As InformMessage
Dim value() As Byte
 
value = instance.Encode()
public override byte[] Encode()
public: byte[]* Encode(); override 
public:
array<byte>^ Encode(); override 

Return Value

A byte array containing the encoded message.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionIndicates the required SysUpTime and TrapOid variables are not set.
See Also

Reference

InformMessage Class
InformMessage Members
Overload List


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic