See if Mac Address Online

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi EveryBody:

How can I see or detrmain If a specfiy MAC address OR its assigned IP is
online ?

Is there any way to do it by

System.Net.NetworkInformation

any help will be apprecaited

regard's

Husam
 
Hi EveryBody:

How can I see or detrmain If a specfiy MAC address OR its assigned IP is
online ?

Is there any way to do it by

System.Net.NetworkInformation

any help will be apprecaited

regard's

Husam

You could ping the machine assuming firewalls weren't blocking it. As
for finding out by MAC address, probably not. This information is
usually only transferred as far as it's next physical connection (the
switch it's plugged into). We use IP Addressing the rest of the time.
 
Husam,

Use Regex to pull out the IP. I use this URL:

http://checkip.dyndns.org

Do this:

Start a web request to download the HTML source of the above page using
StreamReader.ReadToEnd()

Then use this regex to extraxt the IP

Dim regexIP As Regex = New Regex("\b\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}\b")
Dim strIP As String = regexIP.Match(strHTML).Value:

return the strIP for the IP address

Then you can take it from there
 
Back
Top