How do I get the return value of the Format method of the Win32_Volume class ?
I use: public void ManagementObject.InvokeMethod(ManagementOperationObserver watcher, string methodName, Object[] args) that in System.Management, and it has void return signature.
To get the result directly you can use the
ManagementObject.InvokeMethod Method (String, ManagementBaseObject, InvokeMethodOptions)version of the InvokeMethod Method.Like so
Now if you are using a ManagementOperationObserver for asynchronous execution, you can get the result in the
ObjectReadyeventLike so