Has anyone used the AMTDiscovery class from the Manageability Developer Toolkit inside a WPF application? I have been able to successfully discover AMT machines. What I haven't been able to do is update the UI to display the discovered machines. The OnDiscoveryEvent runs in a different thread than the UI so I get the following error when I try to update the user interface: "The calling thread must be STA, because many UI components require this." Any suggestions on how to architect around this. Ultimately I would like to update the user interface with discovered machines and a progress bar showing the discovery progress.
I would also like to provide the ability to run the discovery process on ip addresses I retrieve from DNS. I was thinking of building a list of IP addresses I retrieve from DNS and then running AMTDiscovery.start on each IP address. Is there a better way to go about this?