Class MainLicenseStatus
Internal Use Only.
The rule that picks, of the two main-licence logins (HiApi and
HiApiSubstitute), the Sentinel status that says why neither was granted:
HiApi's, except where the key lacks HiApi (HASP_FEATURE_NOT_FOUND) and the substitute, which takes its
place on such a key, failed for another reason. Shared by the watchdog's refusal message
(GetHiApiRefusalDetail(int?, int?)), the licence dialog (SentinelKeyInfo) and the
installed HiNC's start-up message (HiNc's SentinelRefusalNotice); a class of its own so neither
read runs License's static constructor.
public static class MainLicenseStatus
- Inheritance
-
MainLicenseStatus
- Inherited Members
Fields
FeatureNotFound
HASP_FEATURE_NOT_FOUND: the key does not carry the feature.
public const int FeatureNotFound = 31
Field Value
Methods
Decisive(int?, int?)
The decisive status of the two logins.
public static int? Decisive(int? hiApiStatus, int? substituteStatus)
Parameters
hiApiStatusint?Status of the HiApi login; null when unknown.
substituteStatusint?Status of the HiApiSubstitute login; null when unknown or not tried.
Returns
- int?
The status that says why; null when neither is known.