mac_address icon indicating copy to clipboard operation
mac_address copied to clipboard

Retrieve the MAC address of the active interface

Open silvioprog opened this issue 5 years ago • 1 comments

Hi.

Is there any option to use get_mac_address() and retrieve the MAC address of the active interface?

Thank you!

silvioprog avatar Dec 06 '19 19:12 silvioprog

Hi, sorry for the almost month long delay! Could you refine what you mean by "active interface"? Do you want the first interface which is marked as UP (at least on *nix, I'll have to do some digging on this for Windows)? There can be multiple interfaces, each which can be active by being the designated interface for certain routes.

repnop avatar Jan 01 '20 17:01 repnop