c# - Detect Windows Insider Build in UWP? -


is possible detect windows build number of given device app? if can please post link or tell me how it?

i'm trying deploy quick workaround bug affects users on specific insider build. thanks!

found answer:

string devicefamilyversion = analyticsinfo.versioninfo.devicefamilyversion;     ulong version = ulong.parse(devicefamilyversion);     ulong major = (version & 0xffff000000000000l) >> 48;     ulong minor = (version & 0x0000ffff00000000l) >> 32;     ulong build = (version & 0x00000000ffff0000l) >> 16;     ulong revision = (version & 0x000000000000ffffl);     var osversion = $"{major}.{minor}.{build}.{revision}"; 

https://social.msdn.microsoft.com/forums/en-us/2d8a7dab-1bad-4405-b70d-768e4cb2af96/uwp-get-os-version-in-an-uwp-app?forum=wpdevelop


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -