Share via


ConnectionInfo.RemoteIpAddress 屬性

定義

取得或設定遠端目標的 IP 位址。 可以是 null。

public:
 abstract property System::Net::IPAddress ^ RemoteIpAddress { System::Net::IPAddress ^ get(); void set(System::Net::IPAddress ^ value); };
public abstract System.Net.IPAddress RemoteIpAddress { get; set; }
public abstract System.Net.IPAddress? RemoteIpAddress { get; set; }
member this.RemoteIpAddress : System.Net.IPAddress with get, set
Public MustOverride Property RemoteIpAddress As IPAddress

屬性值

備註

結果是 null ,如果連線不是 TCP 連線,例如 Unix 網域通訊端或不是以 TCP 為基礎的傳輸。

適用於