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.9.1.0 (0.9.1)

Syntax

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

Return Value

Byte array representing the OctetString class data

See Also