try this. I got the code snippet from the code generator itself. However, makesure you know which Win32_Process.Handle you want t10execute GetOwner on. In the code snippet its tied to 1076. using System; using System.Management; using System.Windows.Forms; namespace WMISample { public class CallWMIMethod { public static void Main() { try { ManagementObject classInstance = new ManagementObject("root\\CIMV2", "Win32_Process.Handle='1076'", null); // no method in-parameters to define // Execute the method and obtain the return values. ManagementBaseObject outParams = classInstance.InvokeMethod("GetOwner", null, null); // List outParams Console.WriteLine("Out parameters:"); Console.WriteLine("Domain: " + outParams["Domain"]); Console.WriteLine("ReturnValue: " + outParams["ReturnValue"]); Console.WriteLine("User: " + outParams["User"]); } catch(ManagementException err) { MessageBox.Show("An error occurred while trying to execute the WMI method: " + err.Message); } } } }