經安全檢測,此網站為安全網站,請放心前往原始網址!

Getting IP Info with ASP.NET 4.0 and C# - ASP.NET Tutorials | Tutorials, Downloads, & Code Examples

Let’s review what this code is doing. First, we get the hostname of our DNS and set that to our ‘hostName’ string variable. Then, we pass this to the GetHostEntry method that will return an IPHostEntry object which we name ‘localIp’. Next, we set the Text

www.aspnettutorials.com

網址安全性掃描由 google 提供