PeerEndPoint::Name Property

 

Gets or sets a String that represents a displayed name for the PeerEndPoint instance.

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

public:
property String^ Name {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

String representing the display name of the PeerEndPoint.

To avoid corrupting the instance state, the caller should not change the EndPoint value if the instance was obtained from PeerNearMe or PeerContact.

.NET Framework
Available since 3.5
Return to top
Show: