i have to query the WMI-Api on a german and an english computer. But on the different systems, there are different results.
For example:
I have to query "Msvm_ComputerSystem". There is a property named "Caption". On the english computer the result is "Virtual Machine" an on a german computer the result is "Virtueller Computer".
How can i force the language to en-us?
Don't know if it will work, but it is worth trying. Before executing the query, change the culture of the current thread to
CultureInfo.Invariant
: