Class Gauge32
- Namespace
- Lextm.SharpSnmpLib
- Assembly
- SharpSnmpLib.dll
Gauge32 type.
public sealed class Gauge32 : ISnmpData, IEquatable<Gauge32>
- Inheritance
-
Gauge32
- Implements
- Inherited Members
- Extension Methods
Constructors
Gauge32(long)
Initializes a new instance of the Gauge32 class.
public Gauge32(long value)
Parameters
value
longThe value.
Gauge32(Tuple<int, byte[]>, Stream)
Initializes a new instance of the Gauge32 class.
public Gauge32(Tuple<int, byte[]> length, Stream stream)
Parameters
Gauge32(uint)
[CLSCompliant(false)]
public Gauge32(uint value)
Parameters
value
uintValue
Properties
TypeCode
Type code.
public SnmpType TypeCode { get; }
Property Value
Methods
AppendBytesTo(Stream)
Appends the bytes to Stream.
public void AppendBytesTo(Stream stream)
Parameters
stream
StreamThe stream.
Equals(Gauge32?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Gauge32? other)
Parameters
other
Gauge32An object to compare with this object.
Returns
- bool
true if the current object is equal to theother
parameter; otherwise,false .
Equals(object?)
public override bool Equals(object? obj)
Parameters
Returns
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
ToUInt32()
[CLSCompliant(false)]
public uint ToUInt32()
Returns
Operators
operator ==(Gauge32?, Gauge32?)
The equality operator.
public static bool operator ==(Gauge32? left, Gauge32? right)
Parameters
Returns
- bool
Returns
true
if the values of its operands are equal,false
otherwise.
operator !=(Gauge32?, Gauge32?)
The inequality operator.
public static bool operator !=(Gauge32? left, Gauge32? right)
Parameters
Returns
- bool
Returns
true
if the values of its operands are not equal,false
otherwise.