Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ManagementBaseObject ipParams = wmiManager.GetMethodParameters("EnableStatic");
- ipParams["IPAddress"] = ipAddresses; // { "fe80::fcd8:70b5:89f3:825d" }
- ipParams["SubnetMask"] = netmasks; // { "64" }
- wmiObject.InvokeMethod("EnableStatic", ipParams, null);
Add Comment
Please, Sign In to add comment