How can I take a screenshot from a .NET site?

I am looking for ideas on how to take screenshots of websites in a .NET application. This application will be a Windows service. Thank!

+5
source share
3 answers

You cannot show forms using WindowsServices. However, try creating a form with the WebBrowser component, the URL to fill out, browser.OnPageLoaded => myBrowser.DrawToBitmap .. who knows.

0
source

MSHTML , , .

Please note, however, that the MSHTML component may not work correctly when starting the service without a visual interface (for example, without interacting with the desktop).

0
source

All Articles