Guest User

Untitled

a guest
Jan 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. ManagementBaseObject ipParams = wmiManager.GetMethodParameters("EnableStatic");
  2. ipParams["IPAddress"] = ipAddresses; // { "fe80::fcd8:70b5:89f3:825d" }
  3. ipParams["SubnetMask"] = netmasks; // { "64" }
  4. wmiObject.InvokeMethod("EnableStatic", ipParams, null);
Add Comment
Please, Sign In to add comment