当前位置:网站首页>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();边栏推荐
- Audio (V) audio feature extraction
- Chuantu microelectronics high speed and high performance rs-485/422 transceiver series
- Insert and sort the linked list [dummy unified operation + broken chain core - passive node]
- 点云智绘在智慧工地中的应用
- CGLIB动态代理
- 无“米”,也能煮“饭”利用“点云智绘”反演机载LiDAR林下缺失地面点攻略
- RTKLIB-b33版本中GALILEO广播星历存储问题
- Research on 3D model retrieval method based on two channel attention residual network - Zhou Jie - paper notes
- Shell tips (134) simple keyboard input recorder
- 用动图讲解分布式 Raft
猜你喜欢

Unity3D邪门实现之GUI下拉菜单Dropdown设计无重复项
![[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)

Full range of isolator chips with integrated isolated power supply
![[leetcode] two num · sum of two numbers](/img/9e/79c9deae9f853a265b5b536998b655.png)
[leetcode] two num · sum of two numbers

Ca-is1200u current detection isolation amplifier has been delivered in batch

VectorDraw Developer Framework 10.10
![[batch dos-cmd command - summary and summary] - commands related to Internet access and network communication (Ping, Telnet, NSLOOKUP, ARP, tracert, ipconfig)](/img/9b/283d99adf10262c356d1a87ce01bc0.png)
[batch dos-cmd command - summary and summary] - commands related to Internet access and network communication (Ping, Telnet, NSLOOKUP, ARP, tracert, ipconfig)

线程状态变化涉及哪些常用 API

npm install 报错 : gyp ERR! configure error

CPDA | how to start the growth path of data analysts?
随机推荐
What if there is no point in data visualization?
Harmony food menu interface
【批处理DOS-CMD命令-汇总和小结】-文件与目录操作命令(md、rd、xcopy、dir、cd、set、move、copy、del、type、sort)
This year, I graduated
(tool class) quickly add time to code in source insight
点云智绘在智慧工地中的应用
Research on 3D model retrieval method based on two channel attention residual network - Zhou Jie - paper notes
“空间转换”显著提升陡崖点云的地面点提取质量
[batch dos-cmd command - summary and summary] - external command -cmd download command and packet capture command (WGet)
Sichuan Tuwei ca-if1051 can transceiver has passed aec-q100 grade 1 certification
realsense d455 semantic_slam实现语义八叉树建图
【批处理DOS-CMD命令-汇总和小结】-添加注释命令(rem或::)
LTpowerCAD II和LTpowerPlanner III
OpenMP入门
我的处女作杀青啦!
VectorDraw Developer Framework 10.10
【批处理DOS-CMD命令-汇总和小结】-cmd扩展命令、扩展功能(cmd /e:on、cmd /e:off)
【Qt】快捷键
Hanxin's trick: consistent hashing
Explain distributed raft with dynamic diagram