SyntaxFix
Write A Post
Hire A Developer
Questions
you should use the EnumWindow API.
there are plenty of examples on how to use it from C#, I found something here:
Get Application's Window Handles
Issue with EnumWindows