Export (0) Print
Expand All

PeerNameRegistration.PeerName Property

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

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

public PeerName PeerName { get; set; }

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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft