See if Mac Address Online

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
 
P

Phillip Taylor

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.
 
N

Newbie Coder

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top