PeerCollaboration.LocalEndPointName Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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 {
	[SecurityCriticalAttribute]
	get;
	[SecurityCriticalAttribute]
	set;
}

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
PeerToPeerException

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
Show: