How can I tell what version of Windows a file is?

How can I tell what version of Windows a file is?
Answer
To obtain the full version number for the operating system, call the
GetFileVersionInfo function on one of the system DLLs, such as Kernel32. dll, then call VerQueryValue to obtain the StringFileInfo\ProductVersion subblock of the file version information.
 

Tìm kiếm

Back
Top