HttpRequest.UserHostAddress Property
.NET Framework 3.0
Gets the IP host address of the remote client.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public ReadOnly Property UserHostAddress As String 'Usage Dim instance As HttpRequest Dim value As String value = instance.UserHostAddress
/** @property */ public String get_UserHostAddress ()
public function get UserHostAddress () : String
Not applicable.
Property Value
The IP address of the remote client.The following code example uses the HtmlEncode method to HTML-encode the value of the UserHostAddress property and the WriteLine method to write the encoded value to the file. This code example is part of a larger example provided for the HttpRequest class.
Community Additions
ADD
Show: