How to display server information in a .NET application

  • Thread starter Thread starter Bhaskar
  • Start date Start date
B

Bhaskar

Hi,

I have a requirement to display the the following information using a
..ASPX webpage, basically as a test method that server is .NET ready. I
am not able to find the proper controls to obtain this information in
VB.NET. Any help will undoubtedly be appreciated.

--> Operating System information like type, version etc., of the host
Server, that's running the IIS and this webpage.

--> Server protocol

--> Server HTTP Port (confirming it as 80)

--> .NET version

--> Server path, meaning the physical directory name in full, where
this .ASPX page is on the Server.

Thanks in advance,
Bhaskar
 
Hello,

Not sure if I got the scenario right, but:

If the server is not .NET ready, users won't be seeing the test.aspx page at
all. Second, confirming the port has to be 'manual' because only the users
can cofirm it based on whether they get the response back from the server or
not (whatever the port be).

For .NET version, use Environment.Version property. For the physical path of
the file, use the Request.PhysicalPath property.

Hi,

I have a requirement to display the the following information using a
..ASPX webpage, basically as a test method that server is .NET ready. I
am not able to find the proper controls to obtain this information in
VB.NET. Any help will undoubtedly be appreciated.

--> Operating System information like type, version etc., of the host
Server, that's running the IIS and this webpage.

--> Server protocol

--> Server HTTP Port (confirming it as 80)

--> .NET version

--> Server path, meaning the physical directory name in full, where
this .ASPX page is on the Server.

Thanks in advance,
Bhaskar
 
Back
Top