mac_address
mac_address copied to clipboard
Cross-platform retrieval of a network interface MAC address.
* `cargo build` runs without error * `cargo test` passes all tests * `cargo run --example lookup` correctly fetches the local MAC address Tested with cargo 1.59.0 on OpenBSD 7.1-stable...
I'm getting a list of devices from `pcap` which only provides a GUID that's part of the AdapterName. This will let me look up that AdapterName to get its MAC...
Nl trait
I'm not too deep into rust yet, but thought it might be possible to have an optional feature, that implements the [Nl trait of neli](https://docs.rs/neli/0.5.3/neli/trait.Nl.html)? The two crates appear to...
Since there is a way to get MAC address by name, a reverse should be possible - get name by MAC address (or embed the name into MacAddress struct). Example...
Hi. Is there any option to use `get_mac_address()` and retrieve the MAC address of the active interface? Thank you!
This works just fine on OpenBDS. Tested by running `cargo test` and all the examples.
Hello! Thank you for this crate, I've found it useful :) I was wondering if it would be possible to cut a new release? It's not a big deal, but...
Also added ./example/lookup_by_ip.rs which correctly outputs the MacAddress on my windows machine. Linux implementation in the next commit.