protected void Page_Load(object sender, EventArgs e)
 {
     if (!base.IsPostBack)
     {
         this.tbKey.Text = PF.GetMID();
     }
 }
Beispiel #2
0
 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());
     }
 }
Beispiel #3
0
    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;
        }
    }