当前位置:网站首页>C get the version number of exe - file version and assembly version
C get the version number of exe - file version and assembly version
2022-06-25 07:44:00 【※※ Bingxin ※※】
adopt System.Diagnostics.FileVersionInfo.GetVersionInfo Get the file version , The corresponding [assembly: AssemblyFileVersion("")], instead of [assembly: AssemblyVersion("")]. Right click the file attribute to see the file version ( Or product version ).
What you get from the following code is assembly edition [assembly: AssemblyVersion("1.0.0.0")], as follows :
var softwareVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();If you want to get the file version of the current program , The code is :
System.Windows.Forms.Application.ProductVersion.ToString();边栏推荐
- 三年营收连续下滑,天地壹号困在醋饮料里
- OAuth 2.0一键登录那些事
- The principle of Zener diode, what is its function?
- Full range of isolator chips with integrated isolated power supply
- CPDA | how to start the growth path of data analysts?
- Domestic MCU perfectly replaces STM chip model of Italy France
- 一“石”二“鸟”,PCA有效改善机载LiDAR林下地面点部分缺失的困局
- Accès à la boîte aux lettres du nom de domaine Lead à l'étranger
- Cocos learning diary 3 - API acquisition nodes and components
- Shell tips (134) simple keyboard input recorder
猜你喜欢

(tool class) use SecureCRT as the communication medium
![[batch dos-cmd command - summary and summary] - CMD window setting and operation commands (CD, title, mode, color, pause, CHCP, exit)](/img/8c/7345b4e8a55dcf11d18ac113df4fc2.png)
[batch dos-cmd command - summary and summary] - CMD window setting and operation commands (CD, title, mode, color, pause, CHCP, exit)
![对链表进行插入排序[dummy统一操作+断链核心--被动节点]](/img/2a/ccb1145d2b4f9fbd8d0812deace93b.png)
对链表进行插入排序[dummy统一操作+断链核心--被动节点]
![[Batch dos - cmd Command - Summary and Summary] - External Command - cmd Download Command, wget Command](/img/00/5a5b081b78ad6a6c1c3a3c847dd315.png)
[Batch dos - cmd Command - Summary and Summary] - External Command - cmd Download Command, wget Command

FairMOT yolov5s转onnx

realsense d455 semantic_slam实现语义八叉树建图

Chuantu microelectronics breaks through the high-end isolator analog chip market with ca-is3062w
![[batch dos-cmd command - summary and summary] - application startup and call, service and process operation commands (start, call, and)](/img/19/b8c0fb72f1c851a6b97f2c17a18665.png)
[batch dos-cmd command - summary and summary] - application startup and call, service and process operation commands (start, call, and)

海思3559 sample解析:vio
![[Batch dos - cmd Command - Summary and Summary] - cmd extension Command, extension Function (CMD / E: on, CMD / E: off)](/img/2b/4495a6cd41a2dd4e7a20ee60b398c9.png)
[Batch dos - cmd Command - Summary and Summary] - cmd extension Command, extension Function (CMD / E: on, CMD / E: off)
随机推荐
CPDA | how to start the growth path of data analysts?
shell小技巧(一百三十四)简单的键盘输入记录器
海思3559 sample解析:vio
Elk + filebeat log parsing, log warehousing optimization, logstash filter configuration attribute
realsense d455 semantic_slam实现语义八叉树建图
(tool class) quickly add time to code in source insight
Zhugeliang vs pangtong, taking distributed Paxos
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
Tempest HDMI leak receive 2
Chuantu microelectronics high speed and high performance rs-485/422 transceiver series
Lebel only wants an asterisk in front of it, but doesn't want to verify it
Construction of occupancy grid map
The method of judging whether triode can amplify AC signal
[leetcode] two num · sum of two numbers
PI Ziheng embedded: This paper introduces the multi-channel link mode of i.mxrt timer pit and its application in coremark Test Engineering
指南针可以开股票账户吗?安全吗?
Summary of small problems in smartbugs installation
Collection of common terms and meanings in forestry investigation based on lidar
Chuantu microelectronics 𞓜 subminiature package isolated half duplex 485 transceiver
[batch dos-cmd command - summary and summary] - application startup and call, service and process operation commands (start, call, and)