程序集信息
文件说明
<AssemblyTitle>小臭氧数据采集</AssemblyTitle>
文件版本
<FileVersion>1.0.0.3</FileVersion>
产品名称
<Product>小臭氧数据采集</Product>
代码获取:
System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName).ProductName
产品版本
<Version>1.0.0.3</Version>
代码获取:
System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName).ProductVersion
当前项目程序集名称
System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
主项目程序集名称
System.Reflection.Assembly.GetEntryAssembly().GetName().Name;