You can't take a screenshot of the web page in C#: it runs on the server, not the client. That means that the Primary Screen is the web server screen not the client browser. It may do something like what you want in development because both computers are the same PC, but it will do nothing useful in production when the are separated by thousands of miles!
You will need to look at using Javascript for this:
Google[
^]