C# Class NSoft.NFramework.Licensing.AbstractLicenseValidator

라이선스 검증자 기본 클래스
Inheritance: ILicenseValidator
显示文件 Open project: debop/NFramework

Protected Properties

Property Type Description
TimeServers string[]

Public Methods

Method Description
AssertValidLicense ( ) : void

로드된 라이선스를 검증합니다.

DisableFutureChecks ( ) : void
RemoveExistingLicense ( ) : void

기존 라이선스 정보를 제거합니다.

TryLoadingLicenseValuesFromValidatedXml ( ) : bool

유효한 라이선스 파일로부터 라이선스 정보를 로드합니다.

Protected Methods

Method Description
AbstractLicenseValidator ( string publicKey ) : System
AbstractLicenseValidator ( string publicKey, string licenseServerUrl, System.Guid clientId ) : System
TryOverwritingWithNewLicense ( string newLicense ) : bool

라이선스 파일을 로드합니다.

Private Methods

Method Description
GetInvalidationKind ( ) : InvalidationKind
HasExistingLicense ( ) : bool
LeaseLicenseAgain ( object state ) : void
RaiseLicenseInvalidated ( ) : void
TryGetVaidateDocument ( string licensePublicKey, XmlDocument doc ) : bool
TryGettingNewLeaseSubscription ( ) : void
ValidateFloatingLicense ( string publicKeyOfFloatingLicense ) : bool
ValidateSubscription ( ) : bool
ValidateUsingNetworkTime ( ) : void
ValidateWithoutUsingSubscriptionLeasing ( ) : bool
ValidateXmlDocumentLicense ( XmlDocument doc ) : bool

Method Details

AbstractLicenseValidator() protected method

protected AbstractLicenseValidator ( string publicKey ) : System
publicKey string
return System

AbstractLicenseValidator() protected method

protected AbstractLicenseValidator ( string publicKey, string licenseServerUrl, System.Guid clientId ) : System
publicKey string
licenseServerUrl string
clientId System.Guid
return System

AssertValidLicense() public method

로드된 라이선스를 검증합니다.
public AssertValidLicense ( ) : void
return void

DisableFutureChecks() public method

public DisableFutureChecks ( ) : void
return void

RemoveExistingLicense() public method

기존 라이선스 정보를 제거합니다.
public RemoveExistingLicense ( ) : void
return void

TryLoadingLicenseValuesFromValidatedXml() public method

유효한 라이선스 파일로부터 라이선스 정보를 로드합니다.
public TryLoadingLicenseValuesFromValidatedXml ( ) : bool
return bool

TryOverwritingWithNewLicense() protected method

라이선스 파일을 로드합니다.
protected TryOverwritingWithNewLicense ( string newLicense ) : bool
newLicense string
return bool

Property Details

TimeServers protected_oe property

Standard Time servers
protected string[] TimeServers
return string[]