mac_address
mac-address
provides a cross platform way to retrieve the MAC address of network hardware. See the Wikipedia entry for more information.
Currently does not support MacOS.
```rust extern crate mac_address;
use macaddress::getmac_address;
fn main() { match getmacaddress() { Ok(ma) => { println!("MAC addr = {}", ma); println!("bytes = {:?}", ma.bytes()); }, Err(e) => println!("{:?}", e) } } ```
mac_address
is licensed under both MIT and Apache 2.0