
.NET ez 2015-03-14
在ApiController讀取用戶IP
string IP = ((HttpContextWrapper)Request.Properties["MS_HttpContext"]).Request.UserHostAddress;
標籤: .NET
本文章網址:
https://www.ez2o.com/Blog/Post/csharp-MVC-ApiController-UserAddress
https://www.ez2o.com/Blog/Post/472
https://www.ez2o.com/Blog/Post/csharp-MVC-ApiController-UserAddress
https://www.ez2o.com/Blog/Post/472