1
当我在windows命令提示符下键入ipconfig /all
时,我从网络接口获得一堆参数信息。有没有我可以通过编程访问它们的方法?例如,从Java桌面应用程序?网络接口参数
例子:
Wireless LAN adapter Wireless Network Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Intel(R) Wireless WiFi Link 4965AGN Physical Address. . . . . . . . . : 00-1D-3B-5A-7A-88 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes