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

What is a Windows Service and how does its lifecycle differ from a "standard" EXE?

2 Answers  


When cookie will expire?

0 Answers  


What is a page life cycle? What are the events in a page life cycle?

0 Answers  


What is shadowing?

2 Answers   Syntax Softtech,


What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?

2 Answers  






whats the best method to cal id in javascript

2 Answers  


How to do Caching in ASP?

1 Answers  


Where is session data stored in asp net?

0 Answers  


Describe the difference between inline and code behind - which is best in a?

0 Answers  


Name the namespace which is used by ado.net?

0 Answers  


Define machine.config in .net?

0 Answers  


Please brief not about xsd,xslt & xml?

0 Answers  


Categories