I only know some of them such as “CreateVirtualDirectory” and “SetDatabaseConnection” etc but where can I get a list of all possible values(method names) for the ManagementObject.GetMethodParameters method?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The ManagementClass.Methods property returns them, there’s a good example in the MSDN Library topic for it.
Have you found the WMI Code Creator utility yet? Very, very handy to test queries and auto-generate the C# code you need.