IpEndPoint MembersC# API

The IpEndPoint type exposes the following members.
Constructors

  NameDescription
Public methodIpEndPoint 
Initialises a new instance of the IpEndPoint class,.
Public methodIpEndPoint(Int32)
Initialises a new instance of the IpEndPoint class, with the localhost IP address (127.0.0.1) and the specified port.
Public methodIpEndPoint(String)
Initialises a new instance of the IpEndPoint class, with the specified host.
Public methodIpEndPoint(IpEndPoint)
Initialises a new instance of the IpEndPoint class, which is a copy of the specified IpEndPoint object.
Public methodIpEndPoint(IntPtr, Boolean)
For internal use only. Of no interest to the user.
Public methodIpEndPoint(String, Int32)
Initialises a new instance of the IpEndPoint class, with the specified host and port.
Public methodIpEndPoint(String, Int32, IpEndPoint AddressType)
Initialises a new instance of the IpEndPoint class, with the specified host, port and addressType.
Back to Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the IpEndPoint
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAddressType
Gets the address type.
Public methodStatic membergetCPtr
For internal use only. Of no interest to the user.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Represents this object as a string, e.g. "localhost:8080".
(Overrides Object ToString .)
Public methodWithPort
Initialises a new instance of the IpEndPoint class, which is a copy of this IpEndPoint object, and sets the specified port number.
Back to Top
Properties

  NameDescription
Public propertyStatic memberAll
Gets an IpEndPoint object which has the IP address that represents all IP addresses (usually only used in server scripts).
Public propertyStatic memberAny
Gets a wildcard IpEndPoint object. The returned object represents an IP address and port where the actual values used by the low level communication layers will be determined by the Operating System.
Public propertyStatic memberBroadcast
Gets an IpEndPoint object which has an IP address that represents the broadcast address.
Public propertyHost
Gets the host (IP address).
Public propertyIsAll
Gets a value that indicates whether this is the All IpEndPoint.
Public propertyIsBroadcast
Gets a value that indicates whether this object has an IP address representing the broadcast address.
Public propertyIsLegal
Gets a value that indicates whether this object is in a legal state and ready for use by the API.
Public propertyIsStandard
Gets a value that indicates whether this object has a standard IP address and port.
Public propertyStatic memberLocal
Gets an IpEndPoint object with the localhost IP address (127.0.0.1).
Public propertyStatic memberNone
Gets a none IpEndPoint object. The returned object represents an uninitialised IpEndPoint.
Public propertyPort
Gets the port number.
Back to Top
See Also