Thus, the build number of Windows Server 2016 is always 14393, and any new update for it will be only change revision number, such the version format should be 10.0.14393.***?
And the build number of Windows Server 2019 is staying on 17763? but it is not re-released yet; the first build number of Windows Server 2019 is 17623?
and now my .net code most like the below, that working safe?
if (VersionHelper.IsWindows10OrGreater())
{
_isWindows10OrGreater = true;
if (_isWindowsServer)
{
if (Build > 17763) //???
_productShortName = "Windows Server 20XX";
else if (Build > 17622)
_productShortName = "Windows Server 2019";
else
_productShortName = "Windows Server 2016";
}
else
{
_productShortName = "Windows 10";
}
Thanks,