Hi,
I want to get the IP address of the current system using asp.net C#.But I'm in trouble with understanding basic idea behind this task.Can you anyone help me to done this task guys....
Help me Guys....
Thanks in advance Guys....
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sunny SharmaPosted May 25, 2013, 3:48 AM
Try this:
Request.ServerVariables("REMOTE_ADDR")
OR
Request.UserHostAddress
Happy Coding :)
Please don't forget to accept this as answer if it helps!
Thanks.
Kavi sujaPosted May 25, 2013, 5:54 AM