protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { this.tbKey.Text = PF.GetMID(); } }
protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { tbKey.Text = PF.GetMID(); SystemOptions so = new SystemOptions(); tbKeyOK.Attributes.Add("value", so["SerialNumberForShoveSoft_MHB"].Value.ToString()); } }
protected void Application_Start(Object sender, EventArgs e) { string MID = PF.GetMID(); SystemOptions so = new SystemOptions(); if (so["SerialNumberForShoveSoft_MHB"].Value.ToString() != Shove._Security.Encrypt.NoUnEncryptString(PF.GetCallCert(), MID, "SLS-", 5, 5, 0)) { Application[CacheKey.IsSystemRegister] = false; } else { Application[CacheKey.IsSystemRegister] = true; } }