Asynchronous Remote WMI Calls C#

  • Thread starter Thread starter I.T Delinquent
  • Start date Start date
I

I.T Delinquent

Guest
I'm really struggling to get WMI data from a remote host in an asynchronous way. After a lot of research, I can't find any clear examples, Microsoft's documentation only has VB and C++ code and there are even articles explaining why it's a bad idea. I've come from PowerShell, with that I would just create a new runspace to get the information.

I currently have a WPF window that I want to remain responsive whilst querying the information before updating the window. I've currently only managed to use synchronous calls using CimSession.Create and QueryInstance.

I would really appreciate some help with this :)

Continue reading...
 
Back
Top