Here is my code:
string ip = Request.ServerVariables["REMOTE_ADDR"]
I use it for saving the IP
for eac开发者_如何学编程h login to a UserLog
table.
Poorly it saves the IP6
instead of the IP4
.
What is the corret way?
Here is my code:
string ip = Request.ServerVariables["REMOTE_ADDR"]
I use it for saving the IP
for eac开发者_如何学编程h login to a UserLog
table.
Poorly it saves the IP6
instead of the IP4
.
What is the corret way?
精彩评论