PeerCollaboration.LocalEndPointName Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the name of the PeerEndPoint associated with the calling peer.

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

public static string LocalEndPointName {

Property Value

Type: System.String

String that contains the name associated with the calling peer's endpoint (provided as the Name property). The default value for this property is null.

Exception Condition

Unable to set LocalEndPointName.

Access to this property requires a PermissionState of Unrestricted. This state is created when the Peer collaboration session begins.

.NET Framework
Available since 3.5
Return to top