Share via


ConnectionInfo.RemoteIpAddress Property

Definition

Gets or sets the IP address of the remote target. Can be 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

Property Value

Remarks

The result is null if the connection isn't a TCP connection, e.g., a Unix Domain Socket or a transport that isn't TCP based.

Applies to