private static bool CheckHardwareId(License license) { // TODO: Export this string value. var licenseHardwareId = license.AdditionalAttributes.Get("HardwareId"); if (string.IsNullOrEmpty(licenseHardwareId)) { return(false); } return(HardwareInfoHelper.ValidateHardwareId(licenseHardwareId)); }