ASN.1 ObjectId type implementation

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public class Oid : AsnType, ICloneable
Public Class Oid _
	Inherits AsnType _
	Implements ICloneable
public ref class Oid : public AsnType, 
	ICloneable

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Oid()()()
Creates a default empty object identifier.
Oid(Oid)
Constructor. Duplicate objectId value from argument.
Oid(array<Int32>[]()[])
Constructor. Initialize ObjectId value to integer array
Oid(String)
Constructor. Initialize objectId value from string argument.
Add(Oid)
Appends the passed Oid object to self.
Add(Int32)
Add a single id to the end of the current oid.
Add(array<Int32>[]()[])
Add the specified identifiers to the current object.
Add(String)
Converts the passed string to an object identifier and appends them to the current object.
Addition(Oid, Oid)
Add two Oid values and return the new class
Addition(Oid, Int32)
Add integer id to the Oid class
Addition(Oid, array<Int32>[]()[])
Add Oid class value and oid values in the integer array into a new class instance.
Addition(Oid, String)
Add Oid class value and oid represented as a string into a new Oid class instance
Clone()()()
Duplicate current object.
(Overrides AsnType..::.Clone()()().)
Compare(Oid)
Compare objectId values
Compare(array<Int32>[]()[])
Compare Oid value with array of integers
Compare(array<Int32>[]()[], Int32)
Compare objectId values
decode(array<Byte>[]()[], Int32)
Decode BER encoded Oid value.
(Overrides AsnType..::.decode(array<Byte>[]()[], Int32).)
encode(MutableByte)
Encodes ASN.1 object identifier and append it to the end of the passed buffer.
(Overrides AsnType..::.encode(MutableByte).)
Equality(Oid, Oid)
Comparison of two Oid class values.
Equals(Object)
Test for equality. Returns true if 'o' is an instance of an Oid and is equal to self.
(Overrides Object..::.Equals(Object).)
Explicit(Oid)
Operator allowing explicit conversion from Oid class to integer array int[]
GetChildIdentifiers(Oid, Oid)
Return child components of the leaf OID.
GetHashCode()()()
Hash value for OID value
(Overrides Object..::.GetHashCode()()().)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(Oid, Oid)
Negative comparison of two Oid class values.
IsRootOf(Oid)
Compares the passed object identifier against self to determine if self is the root of the passed object. If the passed object is in the same root tree as self then a true value is returned. Otherwise a false value is returned from the object.
Item[([(Int32])])
Access individual Oid values.
Length
Gets the number of object identifiers in the object.
Reset()()()
Reset class value to null
Set(AsnType)
Set class value from another Oid class cast as .
Set(array<Int32>[]()[])
Set Oid value from integer array. If integer array is null or length == 0, internal buffer is set to null.
Set(String)
Sets the object to the passed dotted decimal object identifier string.
ToArray()()()
Convert the Oid class to a integer array. Internal class data buffer is *copied* and not passed to the caller.
ToString()()()
Converts the object identifier to a dotted decimal string representation.
(Overrides Object..::.ToString()()().)
ToString(array<Int32>[]()[])
Return a string formatted as OID value of the passed integer array
ToString(array<Int32>[]()[], Int32)
Return a string formatted as OID value of the passed integer array starting at array item startpos.
Type
Return ASN.1 type of the object stored in this or derived class.
(Inherited from AsnType.)

Inheritance Hierarchy

System..::.Object
  SnmpSharpNet..::.AsnType
    SnmpSharpNet..::.Oid

See Also