I am trying to get the IP address of client machine using C#. I am using the below code to get the IP address :
string IPAddress = HttpContext.Current.Request.UserHostAddress;
But it is giving me the response in encoded format i.e fe80::ed13:dee2:127e:1264%13
How can I get the actual IP address? Any one faced this issue please share some idea.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…