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

how to retrieve property settings from xml .config file.

0 Answers  


What is the use of execute non query in asp.net?

0 Answers  


Define page output caching?

0 Answers  


What is the use of web.config and machine.config files?

0 Answers   Amdocs,


What is asp net_sessionid?

0 Answers  






Interface have Default Modifier Is 'Public'.Where We Will Use The KeyWord In Interface?

3 Answers   Phoenix Technologies,


can we pass coditions in swtich case?

3 Answers  


What do you mean by marshalbyref?

0 Answers  


If you have to replicate a set of controls(UI) across a number of web pages, what will you do

1 Answers  


What does clearing cache?

0 Answers  


How to write unmanaged code and how to identify whether the code is managed /unmanaged?

4 Answers   Accenture,


What is the difference between ldap and active directory?

0 Answers  


Categories