Crates.io | ipconfig |
lib.rs | ipconfig |
version | 0.3.2 |
source | src |
created_at | 2017-09-09 23:23:21.539697 |
updated_at | 2023-06-06 11:36:56.458033 |
description | Get network adapters information and network configuration for windows. |
homepage | https://github.com/liranringel/ipconfig |
repository | https://github.com/liranringel/ipconfig |
max_upload_size | |
id | 31244 |
size | 202,860 |
Get network adapters information and network configuration for windows.
// 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());
}
Licensed under either of
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.