PeerName.PeerHostName 屬性

定義

取得對等主機的名稱。 這是 DNS 編碼的 PeerName,相當於 PeerHostName,因為兩者都是識別項。 兩者之間的差別在於視覺化的表示。

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

屬性值

String 值,是對等主機的名稱。 除非明確指定,否則參考型別 (Reference Type) 的所有屬性預設值都是 null

屬性

備註

點對點主機是「種子節點」,負責起始點對點網路會話,邀請對等參與這類網路連線的應用程式最適合用於聊天群組或遊戲會話等通訊。

屬性 PeerHostName 會指定建立對等網路會話的對等名稱,並視為會話的主機。 對等網路會話的主機可能會將對等收集到多個 Cloud 。 此外,同儕節點也可以同時由一個以上的對等主機裝載。

適用於

另請參閱