Convert the OctetString class to a byte array. Internal class data buffer is *copied* and not passed to the caller.
Namespace:
SnmpSharpNetAssembly: 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() |