detect the mac network

Feb 9, 2011 at 7:23 AM
Edited Feb 9, 2011 at 7:28 AM

I apologize for my English I wanted to know how I can get the mac of the networks detected.

 if I run the following code I get the mac of my card, but for those found?

  Dim wlanIface As WlanClient.WlanInterface = client.Interfaces(0)
            Dim MAC = wlanIface.NetworkInterface.GetPhysicalAddress.ToString
            Dim adMAC = ""
            For i = 1 To MAC.Length Step 2
                adMAC &= MAC.Substring(i - 1, 1) & MAC.Substring(i, 1) & ":"
            Next
            Label2.Text = adMAC.Remove(adMAC.Length - 1)