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.2.0 (0.5.2.0)

Syntax

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

Return Value

Byte array representing the OctetString class data

See Also