根据计算机名获取其IP

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weiwei_c/article/details/51234522
        Dim ControllerInfo As IPHostEntry = Dns.GetHostByName(controllerName)
        Dim ControllerUri As String = String.Format("tcp://{0}:10000/RemotingPXIControlService", ControllerInfo.AddressList(0))

猜你喜欢

转载自blog.csdn.net/weiwei_c/article/details/51234522