https://bugs.documentfoundation.org/show_bug.cgi?id=165464

--- Comment #6 from Erik <[email protected]> ---
This should be the version information from kernel32.dll:

PS D:\> $signature = @"
>> [DllImport("kernel32.dll")]
>> public static extern uint GetVersion();
>> "@
PS D:\> $os = [System.BitConverter]::GetBytes((Add-Type -MemberDefinition
$signature -Name "Win32OSVersion" -Namespace Win32Functions
-PassThru)::GetVersion())
PS D:\> $os
10
0
244
101
PS D:\> [System.BitConverter]::ToInt16(([byte]$os[2],[byte]$os[3]),0)
26100
PS D:\>

The first number should be the major version, the second the minor version, and
the converted last two values (26100) the build number.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to