资 源 简 介
C#利用WMI类中的Win32-NetworkAdapterConfiguration实现网卡IP地址的自动配置,注意事项:1、程序中数据库链接采用的是绝对路径,运行前请将附件解压至D:/CfgIP/文件夹中。
2、gdmacip.mdb数据库中保存的是作者的两台计算机的MAC、IP等信息,如果需要测试请填写自己的相关内容。
3、调试验证环境:Windows 2003 Server/Windows 2000 Pro/Windows XP,Microsoft Visual Studio .NET 2003,.NET Framework1.1.4322 SP1,Microsoft Office2003-C# Use WMI Classes Win32-NetworkAdapterConfiguration realize LAN IP address auto-configuration, NOTES: 1, procedures in the database link uses absolute path, run before you unzip to Annex D:/CfgIP/folder. 2, gdmacip.mdb database maintained by the author of two computer MAC, IP and other information, if the need to test please fill in their own relevant content. 3, debug, verification environment: Windows 2003 Server/Windows 2000 Pro/Windows XP, Microsoft Visual Studio. NET 2003,. NET Framework1.1.4322 SP1, Microsoft Office2003