Click or drag to resize

IP Class

IPAddress type.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpLibIP

Namespace: Lextm.SharpSnmpLib
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
public sealed class IP : ISnmpData, IEquatable<IP>

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 MethodToBytes Converts ISnmpData to a byte array.
(Defined by SnmpDataExtension)
Public Extension MethodToIPAddress Converts IP to IPAddress.
(Defined by Helper)
Top
See Also