Accessing Calling Computer Name

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!


In I can use Request.UserHostName to get the IP address and then figure out the computer name of the calling user.  How can I do this in Wisej?

Also how can I get a list of printers on the client in Wisej?


Tim Larson


  • You must to post comments

When I do Application.ServerVariables[“REMOTE_HOST”] all I get back is ::1 same with REMOTE_ADDR.

Any advice?

  • Mark Reed
    That is probably because you are looking at the variable debugging on your local machine. If you use a remote browser it should work however I believe it uses DNS anyway so it wouldn’t really work across the internet.
  • Luca (ITG)
    I think Mark is correct. The value of REMOTE_HOST is not generated by Wisej, it’s what IIS sets in the server variables and it must be identical to what ASP.NET returns.
  • You must to post comments

All the server variables are available here: Application.ServerVariables.

UserHostName is Application.ServerVariables[“REMOTE_HOST”]

UserHostAddress is Application.ServerVariables[“REMOTE_ADDR]

We should probably add the HttpRequest.User* properties to Wisej.Base.Application. Will log an enhancement. The properties end up returning the standard server variables anyway.




  • You must to post comments
Showing 2 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json mixin.theme