asp.net.ph

Request.UserHostName Property

System.Web Namespace   HttpRequest Class


Gets the DNS name of the remote client.

[ VB ]
Public ReadOnly Property UserHostName As String

[ C# ]
public string UserHostName {get;}

[ C++ ]
public: __property String* get_UserHostName ( );

[ JScript ]
public function get UserHostName ( ) : String;

Property Value

The DNS name of the remote client.

Example

The following example shows the simplest way to retrieve and display the UserHostName for the current URL request.

<%= Request.UserHostName %>

 Show me 

See Also

HttpRequest Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph