Edit

Share via


PeerName.PeerHostName Property

Definition

Gets the name of the peer-to-peer host. This is a DNS-encoded version of the PeerName which is equivalent to a PeerHostName in that they are both identifiers. The difference between the two is visual representation.

public:
 property System::String ^ PeerHostName { System::String ^ get(); };
public string PeerHostName { [System.Security.SecurityCritical] get; }
[<get: System.Security.SecurityCritical>]
member this.PeerHostName : string
Public ReadOnly Property PeerHostName As String

Property Value

A String value that is the name of the peer-to-peer host. Unless explicitly specified, the default value for all properties is null for reference types.

Attributes

Remarks

The peer-to-peer host is the "seed node" responsible for initiating the peer-to-peer networking session, inviting peers to participate in applications for which this type of network connectivity is most appropriate for communications such as chat groups or game sessions.

The PeerHostName property specifies the name of a peer that created the peer-to-peer networking session, and which is considered the host of the session. The host of a peer-to-peer networking session may collect peers into more than one Cloud. Also, a peer may simultaneously be hosted by more than one peer host.

Applies to

See also