Screen Capturer Library

Are there any libraries that I can use to capture my screen?