#dns-server #networking #adapter #ip-address #windows #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

#50 in Network programming

Download history 213822/week @ 2024-08-13 210862/week @ 2024-08-20 196884/week @ 2024-08-27 222865/week @ 2024-09-03 213347/week @ 2024-09-10 200956/week @ 2024-09-17 233295/week @ 2024-09-24 233511/week @ 2024-10-01 255909/week @ 2024-10-08 256850/week @ 2024-10-15 276581/week @ 2024-10-22 255022/week @ 2024-10-29 272929/week @ 2024-11-05 251968/week @ 2024-11-12 249841/week @ 2024-11-19 146927/week @ 2024-11-26

971,534 downloads per month
Used in 755 crates (14 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–12MB
~72K SLoC