Detecting device type in UWP

Is there a way to detect which device type is currently running? According to the link below, AnalyticsInfo class can provide that information, however that API is not available in Monogame it seems.

The reason I need to know this is because I am building a UWP game that will run on Windows Phone, Windows Tablet and Windows Desktop. Right now both the WP and Tablet versions work perfectly, but when installed on Windows10 desktop (via the WindowsStore) it runs in a Window and so the layout does not work as I intended. So I need to detect this and produce a Desktop specific layout.

Anyone know how to detect this?

1 Like