2013年12月5日

获取DLL文件版本号的三种方法

摘要: 方法一:string version = System.Reflection.Assembly.LoadFrom(strFilePath).GetName().Version.ToString();方法二:Version ApplicationVersion = new Version(Application.ProductVersion);string version = ApplicationVersion.Major.ToString();//获取主版本号方法三:System.Diagnostics.FileVersionInfo info = System.Diagnostics.Fi 阅读全文

posted @ 2013-12-05 13:55 凤武九天 阅读(2662) 评论(0) 推荐(1)

导航