private IActivateResponse ActivateProduct(Guid skuId) { ActivateResponse activateResponse = LicenseService.ActivateProductProcess(skuId.ToString("B")); if (activateResponse.Success) { this.UpdateLicensing(); } activateResponse.ActivationStatus = (activateResponse.Success ? ActivationStatus.Activated : ActivationStatus.Failed); return(activateResponse); }
private IActivateResponse EnterOfflineConfirmationId(Guid skuId, string installationId, string confirmationId) { string str = skuId.ToString("B"); ActivateResponse activateResponse = LicenseService.EnterOfflineConfirmationIdProcess(str, installationId, confirmationId); if (activateResponse.Success) { this.UpdateLicensing(); } activateResponse.ActivationStatus = (activateResponse.Success ? ActivationStatus.Activated : ActivationStatus.Failed); return(activateResponse); }