Click or drag to resize
BabelFileLicenseProvider Class
Represents an license provider used to manage licenses stored in a file on disk. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Babel.LicensingBabelFileLicenseProvider

Namespace:  Babel.Licensing
Assemblies:   Babel.Licensing (in Babel.Licensing.dll) Version: 2.3.3.0
  Babel.Licensing (in Babel.Licensing.dll) Version: 2.3.3.0
Syntax
public class BabelFileLicenseProvider : ILicenseProvider

The BabelFileLicenseProvider type exposes the following members.

Constructors
  NameDescription
Public methodBabelFileLicenseProvider
Initializes a new instance of the BabelFileLicenseProvider class.
Public methodBabelFileLicenseProvider(ILicenseFactory)
Initializes a new instance of the BabelFileLicenseProvider class.
Top
Properties
  NameDescription
Public propertyStatic memberEnvironmentVariable
Gets or sets the environment variable name that contains the license file path.
Public propertyLicenseFactory
Gets or sets the ILicenseFactory.
Public propertyStatic memberLicenseFile
Gets or sets the license file full path.
Public propertyStatic memberSearchDirectories
Gets or sets the directories where to search for a license file.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLicense
When overridden in a derived class, gets a license for an instance or type of component, when given a context and whether the denial of a license throws an exception.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnLicenseFileFound
Raises the license file found event.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateLicenseKey
Validates the license key.
Top
Events
  NameDescription
Public eventLicenseFileFound
Event queue for all listeners interested in LicenseFileFound events.
Top
See Also