WebRequestInformation.UserHostAddress Property

 

Gets the user host address.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

Public ReadOnly Property UserHostAddress As String

Property Value

Type: System.String

The user host address.

The following code example shows how to get the user host address.

' Get the request user host address.
Public Function GetRequestUserHostAdddress() As String
   ' Get the request user host address.
     Return String.Format( _
     "Request user host address: {0}", _
     RequestInformation.UserHostAddress)
End Function 'GetRequestUserHostAdddress

.NET Framework
Available since 2.0
Return to top
Show: