#networking #adapter #windows #ip-addresses #dns-server #network #interface

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

#60 in Network programming

Download history 124868/week @ 2023-11-25 139122/week @ 2023-12-02 116549/week @ 2023-12-09 126473/week @ 2023-12-16 45462/week @ 2023-12-23 88908/week @ 2023-12-30 120738/week @ 2024-01-06 131574/week @ 2024-01-13 138441/week @ 2024-01-20 131240/week @ 2024-01-27 143302/week @ 2024-02-03 143778/week @ 2024-02-10 134491/week @ 2024-02-17 154824/week @ 2024-02-24 150354/week @ 2024-03-02 48694/week @ 2024-03-09

509,075 downloads per month
Used in 709 crates (11 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–11MB
~87K SLoC