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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention few asp.net validators.

567


Which is faster viewdata or viewbag?

532


If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?

516


What is the difference between user control and custom control?

470


Can user control be stored in library?

515






What is asp.net version?

519


What does passport and windows authentication mean in ASP.NET?

641


What is http post action?

526


I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.

1419


Why we go for mvc instead of asp.net? : Asp.Net MVC

483


How does asp.net page work?

517


What is the page life cycle in asp.net?

550


Define asp.net caching?

526


How do I force the dispose method to be called automatically, as clients can forget to call dispose method?

501


What is ascx?

523