c#获取程序版本号
日期: 2020-01-01 分类: 个人收藏 357次阅读
本文转载自:
https://www.cnblogs.com/huangfr/p/3681051.html 作者:huangfr 转载请注明该声明。
Content.Text = "程序集版本:" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() +"\n";
Content.Text += "文件版本:" + Application.ProductVersion.ToString() +"\n";
Content.Text += "部署版本:" + System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString();
除特别声明,本站所有文章均为原创,如需转载请以超级链接形式注明出处:SmartCat's Blog
标签:c#
上一篇: 详解:开通IIS的FTP服务器并添加多个FTP用户
下一篇: Angular数据双向绑定
精华推荐