i have to capture screenshot of Desktop after every one second. in Winform application it is running fine. but after moving the code to Windows Service it is not capturing t
Do you have "Allow service to interact with desktop" checked (in the service properties)?