Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to get the hostname or IP address of the server?

Answer Posted / praveen

string IpAddress=HttpContext.Current.Request.UserHostName;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please explain what is heap and what is stack?

1008


I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?

1015


What is reflection and what is it for?

1028


What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?

1082


Explain can the validation be done in the server side? Or this can be done only in the client side?

936


Explain why do we use msmq?

1006


What is difference between static page and dynamic page?

1009


What are Satellite Assemblies? How you will create this? How will you get the different language strings?

2024


Tell us what is json data, and what is one way that .net developers can work with json?

986


What is Entity Relationship Model in .NET?

1099


What are the properties of ADO.NET?

1128


Explain how to spawn a thread?

961


What exactly is being serialized when you perform serialization in .net?

1039


Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

938


Interop Services?

1969