NetSamples.Common.Net
Class EndPointHelper

Constructor Summary
EndPointHelper()
        Initializes a new instance of the EndPointHelper class.

Method Summary
System.Net.IPEndPoint ToEndPoint(string endpoint)
         Unpacks an IPEndPoint from a string form.
System.Net.IPEndPoint[] ToEndPointArray(string endpointlist)
         Unpacks an array of IPEndPoints from a string array.
System.Net.IPEndPoint[] ToEndPointArray(string[] endpoints)
         Unpacks an array of IPEndPoints from a string array.
string ToString(System.Net.IPEndPoint endpoint)
         Packs an IPEndPoint into a string form.
string ToString(System.Net.IPEndPoint[] endpoints)
         Packs an array of IPEndPoints into a single string.
string[] ToStringArray(System.Net.IPEndPoint[] endpoints)
         Packs an array of IPEndPoints into a string array.

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Constructor Detail

EndPointHelper

public EndPointHelper()

Initializes a new instance of the EndPointHelper class.

Method Detail

ToEndPoint

public System.Net.IPEndPoint ToEndPoint(string endpoint)

Unpacks an IPEndPoint from a string form.


ToEndPointArray

public System.Net.IPEndPoint[] ToEndPointArray(string endpointlist)

Unpacks an array of IPEndPoints from a string array.


ToEndPointArray

public System.Net.IPEndPoint[] ToEndPointArray(string[] endpoints)

Unpacks an array of IPEndPoints from a string array.


ToString

public string ToString(System.Net.IPEndPoint endpoint)

Packs an IPEndPoint into a string form.


ToString

public string ToString(System.Net.IPEndPoint[] endpoints)

Packs an array of IPEndPoints into a single string.


ToStringArray

public string[] ToStringArray(System.Net.IPEndPoint[] endpoints)

Packs an array of IPEndPoints into a string array.