public static string GetHashKeyToSign(this LicenseKey key) { return "{0}:{1}:{2}:{3}".Fmt(key.Ref, key.Name, key.Expiry.ToString("yyyy-MM-dd"), key.Type); }