Professional Shared, Reseller and Dedicated Rainbow Portal Hosting Service Provider Cheap and reliable Rainbow Portal hosting service provider - Rainbow Marts LiveZilla Live Help

Rainbow Portal Hosting Customer Support Center

Main Menu
Home
Open a Ticket
My Ticket History
Browse Knowledgebase
My Account

Login
 E-mail:
 Password:
Register | Forgot Password?

Knowledgebase
Ask a question using natural language. Try to include as much information as possible:


Contact Us
Database Mart LLC
7017 Weis Drive
Galveston, TX 77551
USA
409-877-4238

Sales & Billing: 8:00AM-5:00PM CST
Technical Support: 24x7x365

Knowledgebase
How to get user IP in ASP.NET?
Top : General Technical Support : Programming

Article ID: 000054
Rating: 5.0 / 5.0 (2 votes)
Views: 3591

Problem
How to get user IP in ASP.NET?

Solution
Public Shared Function GetUserIP() As String
Dim ip As String

ip = HttpContext.Current.Request.ServerVariables("REMOTE_ADDR")

Return (ip)
End Function

Rating
Did you find this article helpful?

Related Articles
How to get current domain name in ASP.NET?

Shared Rainbow Portal Hosting - Reseller Rainbow Portal Hosting - Dedicated Rainbow Portal Hosting - Domain Registration - SSL Certificates
Home - Support Center - Knowledgebase - Documentation - Flash Tutorials - Our Network - About Us - Site Map
Cheap and reliable Rainbow Portal hosting service provider - Rainbow Marts