answersLogoWhite

0

Try this


For Each nic As System.Net.NetworkInformation.NetworkInterface In System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
If nic.OperationalStatus = Net.NetworkInformation.OperationalStatus.Up Then


MessageBox.Show(String.Format("The MAC address of {0} is{1}{2}", nic.Description, Environment.NewLine, nic.GetPhysicalAddress()))
End If


Next








Anil

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How would you obtain the MAC address from a machine?

It depends on the machine. However, the MAC address is usually found in the network interface properties.


What is the source MAC address of the frame at the time of capture?

The source Mac Address, from which machine it is being transmitted.


Can the MAC address be changed so as to defeat the Local MAC authentication protection?

Yes, it's possible to spoof a MAC address.


What is Mac number?

This is a unique machine ID, also known as 'Mac Address' in terms of networking.


Where is the Machine address found on your computer?

The "MAC" address of your computer is built into the Ethernet board.


What type of attack involves replacing a valid MAC address with an invalid MAC address on a local network?

ARP Spoofing


What logs might reveal the IP address and MAC address within the local network?

Use ip\mac scanner: http://trogonsoftware/trogon-mac-scanner.html


Can computers have the same MAC address on a server?

No, they can't have the same mac address, because mac address is an id for a machine therefore the ip addresses are registered to the DHCP table accordingly to the mac address. So if you spoof the mac address lets say having two machines with the same mac address what will happen is that only one machine at time would be allowed once it disconnect then the other can connect. Why spoofing a mac address? I guess one of the reasons is to defeat a network administrator when they secure their network by filtering the mac addresses so by spoofing the mac address you will be able to access the internet.


What is the command used on a linux machine to display the mac address?

''ipconfig/all''


What does IP use to find the MAC address for a given IP address on the local sudnet?

ARP


Why does wireshark shows the actual MAC address for the local host but not for the remote host?

Wireshark displays the actual MAC address of the local host because it is directly connected to the network and can access its own hardware address. In contrast, for remote hosts, Wireshark typically shows the MAC address of the last device that forwarded the packet, such as a router, instead of the actual MAC address of the remote host. This is due to the way Ethernet and IP networking function, where MAC addresses are only visible within the same local network segment.


Why is an arp required?

When sending information over a local area network, to a specific computer, the MAC address of the destination must be known. ARP - the address resolution protocol - takes care of that. With it, you can ask for the MAC address that corresponds to a specific IP address.