var fileVersionInfo = FileVersionInfo.GetVersionInfo(Server.MapPath("XXX.dll"));
DllVersion = string.Format("{0}.{1}", fileVersionInfo.FileMajorPart, fileVersionInfo.FileMinorPart);// 主版本号和次版本号(x.x)
_Version = fileVersionInfo.ProductVersion;// 版本号(x.x.x.x)

相关文章:

  • 2021-06-21
  • 2021-05-17
  • 2021-12-25
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2021-08-03
  • 2021-10-05
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2021-12-16
  • 2021-07-10
相关资源
相似解决方案