PeerEndPoint Constructor
Generates a new instance of the PeerEndPoint class.
Assembly: System.Net (in System.Net.dll)
| Name | Description | |
|---|---|---|
![]() | PeerEndPoint() | Generates a new instance of the PeerEndPoint class. |
![]() | PeerEndPoint(IPEndPoint^) | Initializes a new instance of the PeerEndPoint class with the peer-associated endpoint contained in IPEndPoint. |
![]() | PeerEndPoint(IPEndPoint^, String^) | Initializes a new instance of the PeerEndPoint class with the peer-associated endpoint contained in IPEndPoint and a string specifying endPointName. |
![]() | PeerEndPoint(SerializationInfo^, StreamingContext) | Initializes a new PeerEndPoint instance with the associated parameters required for serialization. |
This constructor is provided in the event a developer already knows the IP address of the PeerEndPoint they wish to contact.
Utilizing this constructor to generate an explicit PeerEndPoint instance facilitates the creation of a Peer class instance that can in turn be used to interact with the peer identified by an IP address, using the Peer Collaboration Infrastructure.

