IHttpConnectionFeature.RemoteIpAddress Proprietà
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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.
public:
property System::Net::IPAddress ^ RemoteIpAddress { System::Net::IPAddress ^ get(); void set(System::Net::IPAddress ^ value); };
C#
public System.Net.IPAddress RemoteIpAddress { get; set; }
C#
public System.Net.IPAddress? RemoteIpAddress { get; set; }
member this.RemoteIpAddress : System.Net.IPAddress with get, set
Public Property RemoteIpAddress As IPAddress
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 |