Muokkaa

Jaa


PeerNameRegistration.PeerName Property

Definition

Gets or sets the peer name to register with a peer cloud.

public:
 property System::Net::PeerToPeer::PeerName ^ PeerName { System::Net::PeerToPeer::PeerName ^ get(); void set(System::Net::PeerToPeer::PeerName ^ value); };
public System.Net.PeerToPeer.PeerName PeerName { get; set; }
member this.PeerName : System.Net.PeerToPeer.PeerName with get, set
Public Property PeerName As PeerName

Property Value

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.

Remarks

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.

Applies to

See also