Ip Addys

Thonord

Member
Joined
Oct 25, 2012
Messages
23
Programming Experience
10+
Greetings again, Oracles of VB.NET. I humbly approach again, carrying a query, seaking your wisdom.


I'm the old Clipperhead, now an autodidact VB.NET hobby programmer wannabe.


Background:
I identify a user (Lets call him Charlie) if he connects to a Wifi network I am also connected to. The network need not neccessarily have connectivity to the internet. The network need not be "mine" either. ie. Any Wifi network, anywhere - if Charlie and I are logged on, at the same time, I wanna know! Doesn't matter if he loggs on with a PC, tablet og mobile phone.


I do this by giving Charlie a little program, or an App in case of Charlie using a mob phone.
All the program does is listen to a specific port and if it receives a query:"That you Charlie?" it responds.
Nothing sinister about this. Charlie, and the owner of the network, want me to know he's there, and by extension - that I'm there too.


Question: "How do I collect the IP addresses on a network? Hold your horses, I know, there's a dozen ways to do this - at least.


Off the top of my head:


Shell: Ping every IpAddy on the subnet.


-Shell: Net View and Ping every body by user name.


- Shell: ARP


-Dim p As New ProcessStartInfo and Process.Start(p) in stead of Shell:


-Use SNMP


-Use WMI (of whitch I know nothing)


Whitch approach is the most ".NET" alternatively what is the .NET way?

Tom
 
Back
Top