Unity game samples for Surface Duo
These samples are covered in this blog post, and can be downloaded from github.com/microsoft/surface-duo-sdk-unity-samples.
The ScreenHelper sample code shows device information in Unity:
The Duo Pong sample code includes device display info, and a simple Pong game: