Class CheckResult
public sealed class CheckResult
- Inheritance
-
CheckResult
- Inherited Members
Fields
Challenge
public readonly string? Challenge
Field Value
Explanation
public readonly string Explanation
Field Value
IsLicensedForDebug
public readonly bool IsLicensedForDebug
Field Value
IsLicensedForRelease
public readonly bool IsLicensedForRelease
Field Value
IsProductionLicensed
public readonly bool IsProductionLicensed
Field Value
RequiresResponse
public readonly bool RequiresResponse
Field Value
Methods
DebugLicensed(string)
license errors, but running under debugger
public static CheckResult DebugLicensed(string reason)
Parameters
reasonstring
Returns
DemoLicensed()
public static CheckResult DemoLicensed()
Returns
DemoLicensed(string)
public static CheckResult DemoLicensed(string challenge)
Parameters
challengestring
Returns
ProductionLicensed(string)
no license errors, has prod license
public static CheckResult ProductionLicensed(string licensee)
Parameters
licenseestring
Returns
ResponseRequired(string)
no license errors, but challenge response is required
public static CheckResult ResponseRequired(string challenge)
Parameters
challengestring
Returns
TestLicensed()
no license errors, no prod license
public static CheckResult TestLicensed()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Unlicensed(string)
fatal license errors
public static CheckResult Unlicensed(string reason)
Parameters
reasonstring