Click or drag to resize

IP Class

IPAddress type.
Inheritance Hierarchy
SystemObject
  GSF.Net.SnmpIP

Namespace: GSF.Net.Snmp
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.205-beta
Syntax
public sealed class IP : ISnmpData, IEquatable<IP>
View Source

The IP type exposes the following members.

Constructors
 NameDescription
Public methodIP(Byte) Initializes a new instance of the IP class.
Public methodIP(String) Creates a new instance of the IP class from a specific String.
Public methodIP(TupleInt32, Byte, Stream) Initializes a new instance of the IP class.
Top
Properties
 NameDescription
Public propertyTypeCode Type code.
Top
Methods
 NameDescription
Public methodAppendBytesTo Appends the bytes to Stream.
Public methodEquals(IP) Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object) Determines whether the specified Object is equal to the current IP.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode)
Public methodGetRaw Gets the raw bytes.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString Returns a String that represents this IP.
(Overrides ObjectToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(IP, IP) The equality operator.
Public operatorStatic memberInequality(IP, IP) The inequality operator.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodToBytes Converts to byte format.
(Defined by SnmpDataExtension)
Public Extension MethodToIPAddress Converts IP to IPAddress.
(Defined by Helper)
Top
See Also