title: Get current orientation of window in winform C#
body: <p>I am get window current orientation. window orientation like as Landscape , portrait , Landscape-flipped and portrait-flipped. I had tried to implement in window application but not get any solution. In the C# how to get and set orientation by using registry key or in c#.</p>