How to find the current screen orientation using C#?
I have tried the following code without much success.
DisplayOrientations currentOrientation =
You can take the SystemInformation-object instead and take its ScreenOrientation.
You will get a ScreenOrientation-enumartion back.
var orientation = SystemInformation.ScreenOrientation;
Prints 'Angle0' on my system with default orientation