Andrea Antonangeli Andrea Antonangeli - 1 year ago 175 Question

How to detect Windows 10 Anniversary Update?

I have a VB.NET application that uses Sticky Notes, which have changed in Windows 10 "Anniversary Update".

How can I detect Windows 10 "Anniversary Update" vs. Windows 10 vs. older versions of Windows?

This question talks about distinguishing previous versions of Windows, but doesn't cover the Anniversary Update.

Answer Source

There is a custom solution Here use the dll from that codeproject link. And you can get Name, Version BuildVersion ProgramBits and many more, by this you can easily compare.

var name = OSVersionInfo.Name;
var version = OSVersionInfo.Version;
var build = OSVersionInfo.BuildVersion;