Gets the collection of network endpoints for which the associated peer name is registered.
Assembly: System.Net (in System.Net.dll)
In the System.Net namespace, an IPEndPoint represents a network endpoint as an IP address and a port number. For PNRP, an IP address and port value must be provided for each endpoint. The maximum number of endpoints that can be provided is ten. Automatic address selection is used when this parameter is null.
If a registration method is used that automatically selects the addresses to register, there is no method to determine theaddresses for which the peer name was registered. That is, the property will not be updated to reflect the addresses selected.
When a peer name is registered for more than one node, each PeerNameRegistration is distinct and the property defined on each registration instance will be different. Also, when a PeerName is registered into more than one Cloud, each registration is distinct and the collection of endpoints will usually be different for each instance.Notes to Callers
The list of endpoints with which this peer will communicate is not the same as the list of endpoints by which this peer name is known, which is stored differently.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)