Ejemplo n.º 1
0
 internal LicenseEnforcer(LicenseManagerSingleton mgr, IIssueReceiver permanentIssueSink, Func <Uri> getCurrentRequestUrl)
 {
     this.mgr = mgr;
     this.GetCurrentRequestUrl = getCurrentRequestUrl;
     Clock = mgr.Clock;
     PermanentIssueSink = permanentIssueSink;
     trustedKeys        = mgr.TrustedKeys;
 }
Ejemplo n.º 2
0
 // Actually needs an issue receiver? (or should *it* track?) And an HttpClient and Cache
 public LicenseChain(LicenseManagerSingleton parent, string licenseId)
 {
     this.parent = parent;
     Id          = licenseId;
     LocalLicenseChange();
 }