/Senparc.Weixin.MP.Sample.WebForms/Senparc.Weixin.MP.Sample.WebForms/Default.aspx.cs
https://github.com/mjhuangzk/WeiXinMPSDK · C# · 20 lines · 19 code · 1 blank · 0 comment · 0 complexity · 65d640206fd42ff669d80366c875d8f8 MD5 · raw file
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Linq;
- using System.Web;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- namespace Senparc.Weixin.MP.Sample.WebForms
- {
- public partial class _Default : System.Web.UI.Page
- {
- public string DllVersion { get; set; }
- protected void Page_Load(object sender, EventArgs e)
- {
- var fileVersionInfo = FileVersionInfo.GetVersionInfo(Server.MapPath("~/bin/Senparc.Weixin.MP.dll"));
- DllVersion = string.Format("{0}.{1}", fileVersionInfo.FileMajorPart, fileVersionInfo.FileMinorPart);
- }
- }
- }