PeerNameRegistration::PeerName 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 peer name to register with a peer cloud.

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

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

Property Value

Type: System.Net.PeerToPeer::PeerName^

An object of type PeerName that contains values associated with this PeerNameRegistration object. Unless explicitly specified, the default value for all properties is null for reference types.

A peer name can be registered for more than one node; each PeerNameRegistration instance is distinct. The EndPointCollection property associated with each corresponding PeerName instance is different. Also, it is possible to register a peer name for more than one cloud that the node is connected to; each of these registrations is distinct. The peer name's IPEndPointCollection will be different in each of these instances.

.NET Framework
Available since 3.5
Return to top
Show: