Click or drag to resize

OctetString Methods

The OctetString type exposes the following members.

Methods
  Name Description
Public method AppendBytesTo Appends the bytes to Stream.
Public method Equals(Object) Determines whether the specified Object is equal to the current OctetString.
(Overrides ObjectEquals(Object))
Public method Equals(OctetString) Indicates whether the current object is equal to another object of the same type.
Public method GetHashCode Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode)
Public method GetRaw Gets raw bytes.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method Static member IsNullOrEmpty Indicates whether the specified OctetString object is a null reference (Nothing in Visual Basic) or an Empty string.
Public method ToHexString Returns a String in a hex form that represents this OctetString.
Public method ToLevels Returns a Levels that represents this OctetString.
Public method ToPhysicalAddress Converts octets to physical address.
Public method ToString Returns a String in UTF-16 that represents this OctetString.
(Overrides ObjectToString)
Public method ToString(Encoding) Returns a String in a specific Encoding that represents this OctetString.
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method ToBytes Converts to byte format.
(Defined by SnmpDataExtension)
Public Extension Method ToPhysicalAddress Converts OctetString to PhysicalAddress.
(Defined by Helper)
Top
See Also