Convert the OctetString class to a byte array. Internal class data buffer is *copied* and not passed to the caller.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public byte[] ToArray()
Public Function ToArray As Byte()
public:
array<unsigned char>^ ToArray()

Return Value

Byte array representing the OctetString class data

See Also