How to identify host of my system?
How to identify servername of my system?
How to identify domainname of my system?

Answers were Sorted based on User's Feedback



How to identify host of my system? How to identify servername of my system? How to identify domain..

Answer / vijendra singh

To identify host of my system
Request.ServerVariables["HTTP_HOST"]

To identify servername of my system
Request.ServerVariables["SERVER_NAME"]

Is This Answer Correct ?    7 Yes 2 No

How to identify host of my system? How to identify servername of my system? How to identify domain..

Answer / rajesh gour

Hi u can get ur server name.
Request.ServerVariables["REMOTE_ADDR"]

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

If I'm developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?

7 Answers   Syntax Softtech,


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?

1 Answers  


How is session id generated?

1 Answers  


What is boxing and unboxing ?

7 Answers   Accenture, Infosys, MedTek,


Define secured sockets layer.

1 Answers  


What is the Custom Error in ASP.NET?

2 Answers   ABB, IBM, Infosys, Tech Mahindra,


Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?

1 Answers  


What is asp.net mvc? : asp.net mvc

1 Answers  


what is an Eventbubbling?

3 Answers   DSS,


what is SQL cache Invalidation?

1 Answers  


What is a uri query?

1 Answers  


how we can solve machine key error in asp.net?

3 Answers  


Categories