Get screen resolution of connected pc

I'm working on a project were it would be very helpful that I know the display resolution of the screen were the arduino is connected to.
The arduino stays connected to the pc trough usb. The PC (win10) has a monitor. The arduino needs to know the resolution of that screen / monitor.
Is there a way to accomplish this?

You need a program running on the PC that sends a suitable message to the Arduino.

An Arduino has no access to the innards of your PC.

...R

it would be very helpful that I know the display resolution of the screen were the arduino is connected to.

The Arduino sends serial data to/receives serial data from a COM port on a PC. It is NOT connected to a screen.

I can not imagine how the serial data it sends would depend on the screen resolution. Some clarification is clearly in order.