IHttpConnectionFeature.RemoteIpAddress Proprietà

Definizione

Ottiene o imposta l'indirizzo IPAddress del client che effettua la richiesta. Si noti che potrebbe essere per un proxy anziché per l'utente finale.

C#
public System.Net.IPAddress RemoteIpAddress { get; set; }
C#
public System.Net.IPAddress? RemoteIpAddress { get; set; }

Valore della proprietà

Si applica a

Prodotto Versioni
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0