C# 클래스 Rhino.Licensing.AbstractLicenseValidator

Base license validator.
상속: IDisposable
파일 보기 프로젝트 열기: ayende/rhino-licensing 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Log log4net.ILog
TimeServers string[]

공개 메소드들

메소드 설명
AssertValidLicense ( ) : void

Validates loaded license

DisableFutureChecks ( ) : void

Disables further license checks for the session.

RemoveExistingLicense ( ) : void

Removes existing license from the machine.

TryLoadingLicenseValuesFromValidatedXml ( ) : bool

Loads license data from validated license file.

보호된 메소드들

메소드 설명
AbstractLicenseValidator ( string publicKey, bool enableDiscovery = true ) : System

Creates a license validator with specfied public key.

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

Creates a license validator using the client information and a service endpoint address to validate the license.

TryOverwritingWithNewLicense ( string newLicense ) : bool

Loads the license file.

비공개 메소드들

메소드 설명
DiscoveryHostOnClientDiscovered ( object sender, Rhino.Licensing.Discovery.DiscoveryHost clientDiscoveredEventArgs ) : void
HasExistingLicense ( ) : bool
LeaseLicenseAgain ( object state ) : void
RaiseLicenseInvalidated ( ) : void
RaiseMultipleLicenseDiscovered ( Rhino.Licensing.Discovery.DiscoveryHost args ) : void
TryGetValidDocument ( string licensePublicKey, XmlDocument doc ) : bool
TryGettingNewLeaseSubscription ( ) : void
ValidateFloatingLicense ( string publicKeyOfFloatingLicense ) : bool
ValidateSubscription ( ) : bool
ValidateUsingNetworkTime ( ) : void
ValidateWithoutUsingSubscriptionLeasing ( ) : bool
ValidateXmlDocumentLicense ( XmlDocument doc ) : bool

메소드 상세

AbstractLicenseValidator() 보호된 메소드

Creates a license validator with specfied public key.
protected AbstractLicenseValidator ( string publicKey, bool enableDiscovery = true ) : System
publicKey string public key
enableDiscovery bool Whether to enable the client discovery server to detect duplicate licenses used on the same network.
리턴 System

AbstractLicenseValidator() 보호된 메소드

Creates a license validator using the client information and a service endpoint address to validate the license.
protected AbstractLicenseValidator ( string publicKey, string licenseServerUrl, System.Guid clientId ) : System
publicKey string
licenseServerUrl string
clientId System.Guid
리턴 System

AssertValidLicense() 공개 메소드

Validates loaded license
public AssertValidLicense ( ) : void
리턴 void

DisableFutureChecks() 공개 메소드

Disables further license checks for the session.
public DisableFutureChecks ( ) : void
리턴 void

RemoveExistingLicense() 공개 메소드

Removes existing license from the machine.
public RemoveExistingLicense ( ) : void
리턴 void

TryLoadingLicenseValuesFromValidatedXml() 공개 메소드

Loads license data from validated license file.
public TryLoadingLicenseValuesFromValidatedXml ( ) : bool
리턴 bool

TryOverwritingWithNewLicense() 보호된 메소드

Loads the license file.
protected TryOverwritingWithNewLicense ( string newLicense ) : bool
newLicense string
리턴 bool

프로퍼티 상세

Log 보호되어 있는 정적으로 프로퍼티

License validator logger
protected static ILog,log4net Log
리턴 log4net.ILog

TimeServers 보호되어 있는 정적으로 프로퍼티

Standard Time servers
protected static string[] TimeServers
리턴 string[]