#network #adapter #interface #windows

ipconfig

Get network adapters information and network configuration for windows

16 releases

0.3.2 Jun 6, 2023
0.3.1 Nov 12, 2022
0.3.0 Nov 23, 2021
0.2.2 Apr 28, 2020
0.1.4 Oct 26, 2017

#54 in Network programming

Download history 128374/week @ 2023-10-27 113558/week @ 2023-11-03 112391/week @ 2023-11-10 118006/week @ 2023-11-17 119055/week @ 2023-11-24 138583/week @ 2023-12-01 119643/week @ 2023-12-08 121018/week @ 2023-12-15 59671/week @ 2023-12-22 81378/week @ 2023-12-29 118552/week @ 2024-01-05 124016/week @ 2024-01-12 147264/week @ 2024-01-19 127651/week @ 2024-01-26 136931/week @ 2024-02-02 131709/week @ 2024-02-09

568,742 downloads per month
Used in 705 crates (10 directly)

MIT/Apache

185KB
5.5K SLoC

Ipconfig

Get network adapters information and network configuration for windows.

Build status Crates.io

Documentation

Examples

// Print the ip addresses and dns servers of all adapters:
for adapter in ipconfig::get_adapters()? {
    println!("Ip addresses: {:#?}", adapter.ip_addresses());
    println!("Dns servers: {:#?}", adapter.dns_servers());
}

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0–10MB
~81K SLoC