You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accessing Version Information from Within Your Program | Microsoft Docs
ms.custom
ms.date
11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic
article
f1_keywords
vc.editors.version
dev_langs
C++
helpviewer_keywords
VerQueryValue
version information, accessing from within programs
GetFileVersionInfo
version information
ms.assetid
18622333-d9e8-4309-9465-677cd10c79b1
caps.latest.revision
12
author
mikeblome
ms.author
mblome
manager
ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr
Accessing Version Information from Within Your Program
To access version information from within your program
If you want to access the version information from within your program, use the GetFileVersionInfo function and the VerQueryValue function.
For information on adding resources to managed projects, please see Resources in Desktop Apps in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see Creating Resource Files for Desktop Apps. For information on globalization and localization of resources in managed apps, see Globalizing and Localizing .NET Framework Applications.