Implicit operator allowing cast of OctetString objects to byte[] array

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static implicit operator byte[] (
	OctetString oStr
)
Public Shared Widening Operator CType ( _
	oStr As OctetString _
) As Byte()
static implicit operator array<unsigned char>^ (
	OctetString^ oStr
)

Parameters

oStr
OctetString
OctetString to cast as byte array

Return Value

Byte array value of the supplied OctetString

See Also