Daniel Santos
Daniel Santos

Reputation: 15808

How get os and device info in Windows Runtime JavaScript App?

I'm using analytics to better understand user profile. I need some information like OS version and device info (not sensors info but manufacturer, phone model etc).

I did not find anything obvious in the documentation.

My app is a Universal Windows Platform (UWP) JavaScript Application

Upvotes: 0

Views: 227

Answers (1)

theB
theB

Reputation: 6738

Most of the information you're looking for is in the Windows.System.Profile.AnalyticsInfo class.

More information is available through the Windows.System.Profile namespace.

Upvotes: 1

Related Questions