My company is using an unfortunate third party product that requires a user to be left logged on to an XP workstation running two instances of it\'s product.
I was t
I don't think you can do that with the .net framework...
but you can with WinAPI: http://msdn.microsoft.com/en-us/library/ms633497%28v=vs.85%29.aspx
and you can call it from C# like so: http://www.pinvoke.net/default.aspx/user32/enumwindows.html
An important note: your process need to have permissions for this...
you'll also probably need this: http://msdn.microsoft.com/en-us/library/ms633520(v=vs.85).aspx http://www.pinvoke.net/default.aspx/user32.getwindowtext