none
如何用windowsmobile查看IP地址?最好能有代码 RRS feed

答案

  • 请使用下面的代码来得到IP:

               IPHostEntry host = Dns.GetHostEntry(Dns.GetHostName());
                string myIP = host.AddressList[0].ToString();



    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    2009年8月18日 2:56
    版主