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 dataadapter.fill works?

0 Answers  


web user and custom conrols

1 Answers  


Why is mvc better than asp.net?

0 Answers  


One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation .

6 Answers   TCS,


When do you set "<IDENTITY impersonate="true" />" ?

1 Answers  






What are web beacons used for?

0 Answers  


How could you modify xaml content from javascript?

0 Answers  


Explain Authentication mechanism in dotnet

0 Answers   BirlaSoft,


How Web Service help? What is the difference between Remoting & Web Servcies?

2 Answers  


Why would a company use an application service provider?

0 Answers  


What is the difference between session and viewstate in asp.net?

0 Answers  


How can we identify that the page is post back in asp net?

0 Answers  


Categories