public string IsActivated(int licenseId, string cpuId) { try { ActivationService.IsActivated(licenseId, cpuId); return("true"); } catch (Exception ex) { return(string.Format("Error: {0}", ex.Message)); } }