What is the language to use to develop remote screenshots of the Windows application?

What is the best programming language to create a screen capture application and desktop registry for Windows? Should the screenshots and the registry be inserted in MySql?