What's the equivalent of Screen.currentResolution for game windows?

I’m trying to get the resolution of my game in windowed mode.

When Screen.fullScreen is set to true I’m able to read the game’s resolution via Screen.currentResolution.
But when the game is in windowed mode Screen.currentResolution returns the desktop’s resolution instead.

So the question is: What’s the equivalent of Screen.currentResolution for game windows?

You can use Screen.width and Screen.height