#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 187690/week @ 2024-07-21 179969/week @ 2024-07-28 180291/week @ 2024-08-04 214079/week @ 2024-08-11 211068/week @ 2024-08-18 211590/week @ 2024-08-25 202044/week @ 2024-09-01 224329/week @ 2024-09-08 191369/week @ 2024-09-15 233071/week @ 2024-09-22 225572/week @ 2024-09-29 269584/week @ 2024-10-06 245168/week @ 2024-10-13 269793/week @ 2024-10-20 264890/week @ 2024-10-27 270231/week @ 2024-11-03

1,059,196 downloads per month
Used in 750 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–11MB
~69K SLoC