Reputation: 71
How to get ip of user on application start or load? and validate the requested ip from database
Upvotes: 0
Views: 275
Reputation: 887415
You're looking for the Request.UserHostAddress property.
Request.UserHostAddress
Upvotes: 2