获取内网本机IP地址
Dim IPAdress As System.Net.IPAddress dim HostName as stringHostName = System.Net.Dns.GetHostName '获得本机的机器名 IPAdress = System.Net.Dns.GetHostByName(HostName).AddressList.GetValue(0) '获得本机的IP OutPut.Show( HostName ) '本机机器名 OutPut.Show(IPAdress.ToString ) '本机的IP