25 lines
562 B
C#
25 lines
562 B
C#
using System;
|
|
namespace ln.snmp.types
|
|
{
|
|
public class Counter64 : Integer
|
|
{
|
|
public ulong ULongValue { get => (ulong)LongValue; set => LongValue = (long)Value; }
|
|
|
|
public Counter64()
|
|
: base(new Identifier(IdentifierClass.APPLICATION, false, 0x06))
|
|
{
|
|
}
|
|
|
|
public Counter64(uint value)
|
|
: this()
|
|
{
|
|
ULongValue = value;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return String.Format("[Counter64 ULongValue={0}]", ULongValue);
|
|
}
|
|
}
|
|
}
|