Local License
What Does It Check?
license_data, check_resp, err := lh.LocalCheck(true)
if err != nil {
return err
}Response Structure
Get Current License
Was this helpful?
Was this helpful?
type LocalCheckResponse struct {
LicenseResponse
LicenseActive bool `json:"license_active"`
LicenseEnabled bool `json:"license_enabled"`
IsExpired bool `json:"is_expired"`
DeviceLicensed bool `json:"is_device_licensed"`
IsClockTampered bool `json:"is_clock_tampered"`
ProductMismatch bool `json:"product_mismatch"`
FloatingExpired bool `json:"floating_expired"`
}ld, err = lh.GetCurrentLicense()
if err != nil {
return err
}