PeerNameRecord.EndPointCollection Property


Gets an PeerEndPointCollection object that contains all the endpoints available to the peer associated with this PeerNameRecord object.

Namespace:   System.Net.PeerToPeer
Assembly:  System.Net (in System.Net.dll)

public IPEndPointCollection EndPointCollection { get; }

Property Value

Type: System.Net.IPEndPointCollection

A IPEndPointCollection object that contains a collection of IPEndPoint objects. These objects contain the endpoints of other peers participating within the associated peer cloud. The default value for this property is null.

This property contains the set of endpoints, or peers in the Cloud, nearest to the peer named in this PeerNameRecord. These are the ones with which this peer communicates directly, rather than through an intermediary. For each endpoint an IP address and port must be provided. The maximum number of endpoints that can be provided is ten.

.NET Framework
Available since 3.5
Return to top