#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

#31 in Network programming

Download history 183499/week @ 2024-07-17 186763/week @ 2024-07-24 177042/week @ 2024-07-31 200646/week @ 2024-08-07 212796/week @ 2024-08-14 204623/week @ 2024-08-21 198476/week @ 2024-08-28 226246/week @ 2024-09-04 206992/week @ 2024-09-11 210995/week @ 2024-09-18 226012/week @ 2024-09-25 245268/week @ 2024-10-02 253292/week @ 2024-10-09 260742/week @ 2024-10-16 276402/week @ 2024-10-23 255422/week @ 2024-10-30

1,097,986 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–12MB
~72K SLoC