ASN.1 Counter64 value 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 Counter64 : AsnType, IComparable<ulong>, 
	IComparable<Counter64>
Public Class Counter64 _
	Inherits AsnType _
	Implements IComparable(Of ULong), IComparable(Of Counter64)
public ref class Counter64 : public AsnType, 
	IComparable<unsigned long long>, IComparable<Counter64^>

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Counter64()()()
Constructor.
Counter64(Counter64)
Constructor
Counter64(Int64)
Constructor.
Counter64(String)
Constructor.
Counter64(UInt64)
Constructor.
Addition(Counter64, Counter64)
Addition operator.
Clone()()()
Duplicate current object.
(Overrides AsnType..::.Clone()()().)
CompareTo(Counter64)
Compare class value with the value of the second class
CompareTo(UInt64)
Compare class value with the UInt64 variable
decode(array<Byte>[]()[], Int32)
Decode BER encoded ASN.1 Counter64 value from the supplied buffer starting at specified offset.
(Overrides AsnType..::.decode(array<Byte>[]()[], Int32).)
Diff(Counter64, Counter64)
Return difference between two Counter64 values taking counter roll-over into account.
encode(MutableByte)
Used to encode the integer value into an ASN.1 buffer. The passed encoder defines the method for encoding the data.
(Overrides AsnType..::.encode(MutableByte).)
Equality(Counter64, Counter64)
Check for equality of class values
Equals(Object)
Compare class value against the object argument. Supported argument types are Counter64 and UInt64.
(Overrides Object..::.Equals(Object).)
GetHashCode()()()
Return class value hash code
(Overrides Object..::.GetHashCode()()().)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Implicit(Counter64)
Implicit casting of Counter64 value as UInt64 value
Inequality(Counter64, Counter64)
Negative comparison
Set(AsnType)
SET class value from another Counter64 class cast as .
Set(String)
Parse an Counter64 value from a string.
Subtraction(Counter64, Counter64)
Subtraction operator
ToString()()()
Returns the string representation of the object.
(Overrides Object..::.ToString()()().)
Type
Return ASN.1 type of the object stored in this or derived class.
(Inherited from AsnType.)
Value
Used to get/set the 64-bit unsigned quantity.

Remarks

Counter64 value is unsigned 64-bit integer value that is incremented by the agent until maximum value is reached. When maximum value is reached, Counter64 value will roll over to 0.

Inheritance Hierarchy

System..::.Object
  SnmpSharpNet..::.AsnType
    SnmpSharpNet..::.Counter64

See Also