bjectGetOptions objectGetOptions = new ObjectGetOptions(); ManagementPath managementPath = new ManagementPath("Win32_ScheduledJob"); ManagementClass classInstance = new ManagementClass(scope, managementPath, objectGetOptions); object[] theProcessToRun = { "notepad.exe" }; ManagementBaseObject inParams = classInstance.GetMethodParameters("Create");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)