I've been trying to get the IPs (or computer names) of the computers in the same network as the computer running the program.
I got as far as getting all the IPs of the servers in the network wich ended up in a dead end since its all the computers that i need and not the servers only.
My goal is to get acces to files on all the other computers, i guess a shared folder would do the work and just access it as a regular folder, but for that i need the computer name (wich i can get through his IP)
Basicly, I need to find the ips of all computers in the same network wich is not what i get right now...
Dim localIP() As System.Net.IPAddress = System.Net.Dns.GetHostAddresses(System.Net.Dns.GetHostName) Dim strLocalIP As String = localIP(0).ToString Dim DomainHostEntry As System.Net.IPHostEntry DomainHostEntry = System.Net.Dns.GetHostEntry("workgroup") DomainAdressList = DomainHostEntry.AddressList
Thanks for the Help
This post has been edited by Mathieu: 28 February 2007 - 12:35 PM