bevry / getmac

Get the mac address of the current machine you are on via Node.js
Other
355 stars 54 forks source link

When using the getMAC method, I accidentally got the address of the virtual NIC #331

Open RayJenson opened 3 weeks ago

RayJenson commented 3 weeks ago

hellow😊 I have VMware Workstation Pro installed on my computer, So my computer has several virtual network cards.Why do I get the MAC address of the virtual NIC when I use the getMAC method?

RayJenson commented 3 weeks ago

I think you should first determine whether the MAC address is the address of a virtual NIC after obtaining it, and if so, you should look for the address of another NIC instead