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); }
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); }
public static ActionResult Rollback(Session session) { session.Log("UnlockLeadTools.Rollback"); LeadTools.Lock(); return(ActionResult.Success); }