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:

getting system version

to obtain full version number operating system, call getfileversioninfo function on 1 of system dlls, such kernel32.dll, call verqueryvalue obtain \\stringfileinfo\\<lang><codepage>\\productversion subblock of file version information.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -