示例#1
0
 public static ActionResult Uninstall(Session session)
 {
     session.Log("UnlockLeadTools.Uninstall");
     try
     {
         LeadTools.Lock();
     }
     catch (Exception e)
     {
         session.Log("Error in NewLicense.Uninstall");
         session.Log(e.Message);
     }
     return(ActionResult.Success);
 }
示例#2
0
 public static ActionResult Install(Session session)
 {
     session.Log("UnlockLeadTools.Install");
     try
     {
         LeadTools.Unlock();
     }
     catch (Exception e)
     {
         session.Log(e.Message);
         return(ActionResult.Failure);
     }
     return(ActionResult.Success);
 }
示例#3
0
 public static ActionResult Rollback(Session session)
 {
     session.Log("UnlockLeadTools.Rollback");
     LeadTools.Lock();
     return(ActionResult.Success);
 }