本文介绍了本地系统的IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在asp中获取本地系统的IP地址?
How can i get ip address of my local system in asp?
推荐答案请参阅以下内容: bytes/topic/asp- classic/answers/439176-how-get-clients-ip-address-asp-net 有关更多信息,请参见: www.w3schools/asp/coll_servervariables.asp [ ^ ] refer the following : bytes/topic/asp-classic/answers/439176-how-get-clients-ip-address-asp-net and for more refer : www.w3schools/asp/coll_servervariables.asp[^]
您可以使用 服务器变量 和 对于您的本地系统,您还可以使用 You can Use Server Variables and For your local system you can also use System.Net.IPHostEntry ipE = System.Net.Dns.GetHostEntry(Dns.GetHostName();); System.Net.IPAddress[] IpA = ipE.AddressList; textBox2.Text = IpA[0].ToString();
使用 在C#中 Hi, use in C# Request.ServerVariables["Remote_ADDR"].ToString();
在SQL中-使用以下链接 获取SQL Server中的客户端IP地址 [ ^ ]
in SQL - use below link Get Client IP Address in SQL Server[^]
更多推荐
本地系统的IP地址
发布评论