c++ - Last Build number in OSVERSIONINFOEX -
i wanted os product version 6.3.9600.17415 when using osversioninfoex 6.3.9600
how last build number 17415
if need exact build number, use getfileversioninfo on kernel32.dll. post explains using getfileversioninfo:
https://stackoverflow.com/a/17286050/2501336
this documented means of getting true os build number , immune virtualization:
to obtain full version number operating system, call
getfileversioninfo
function on 1 of system dlls, suchkernel32.dll
, callverqueryvalue
obtain\\stringfileinfo\\<lang><codepage>\\productversion
subblock of file version information.
Comments
Post a Comment