2013年12月25日

C#中获取程序集版本号的方法

摘要: 我的方法:string version = Assembly.GetExecutingAssembly().GetName().Version.ToString();方法一:public void GetFileVersion() {FileVersionInfo myFileVersionInfo = FileVersionInfo.GetVersionInfo(Path路径字符串);string AssmblyVersion=myFileVersionInfo.FileVersion;}方法二:[assembly: AssemblyTitle("")][assembly 阅读全文

posted @ 2013-12-25 20:13 梦想飞的鱼 阅读(602) 评论(0) 推荐(0) 编辑

导航