各种版本

using System.Deployment.Application;

Content.Text = "程序集版本:" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() +"\n";
Content.Text += "文件版本:" + Application.ProductVersion.ToString() +"\n";
Content.Text += "部署版本:" + ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString();

posted on 2011-06-14 08:45  Y#  阅读(166)  评论(0编辑  收藏  举报

导航