Click or drag to resize

OctetString Methods

The OctetString type exposes the following members.

Methods
 NameDescription
Public methodAppendBytesTo Appends the bytes to Stream.
Public methodEquals(Object) Determines whether the specified Object is equal to the current OctetString.
(Overrides ObjectEquals(Object))
Public methodEquals(OctetString) Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode)
Public methodGetRaw Gets raw bytes.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIsNullOrEmpty Indicates whether the specified OctetString object is a null reference (Nothing in Visual Basic) or an Empty string.
Public methodToHexString Returns a String in a hex form that represents this OctetString.
Public methodToLevels Returns a Levels that represents this OctetString.
Public methodToPhysicalAddress Converts octets to physical address.
Public methodToString Returns a String in UTF-16 that represents this OctetString.
(Overrides ObjectToString)
Public methodToString(Encoding) Returns a String in a specific Encoding that represents this OctetString.
Top
Extension Methods
 NameDescription
Public Extension MethodToBytes Converts ISnmpData to a byte array.
(Defined by SnmpDataExtension)
Public Extension MethodToPhysicalAddress Converts OctetString to PhysicalAddress.
(Defined by Helper)
Top
See Also