[DllImport("shlwapi.dll")] public static extern bool IsOS( OSVERSIONINFOEX osvi, OSFLAVOR dwTypeMask );
Microsoft documentation: Link
Last updated 1 year ago