Click or drag to resize
FileLicenseProvider Class
Represents an license provider used to manage licenses stored in a file on disk.
Inheritance Hierarchy

Namespace:  Babel.Licensing
Assemblies:   Babel.Licensing (in Babel.Licensing.dll) Version: 2.4.0.0
  Babel.Licensing (in Babel.Licensing.dll) Version: 2.4.0.0
Syntax
public class FileLicenseProvider : BabelLicenseProvider

The FileLicenseProvider type exposes the following members.

Constructors
  NameDescription
Public methodFileLicenseProvider
Initializes a new instance of the FileLicenseProvider class.
Public methodFileLicenseProvider(ILicenseFactory)
Initializes a new instance of the FileLicenseProvider 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(ILicenseContext, Type, Object)
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.
(Overrides BabelLicenseProviderGetLicense(ILicenseContext, Type, Object).)
Public methodGetLicense(LicenseContext, Type, Object, Boolean)
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.
(Inherited from BabelLicenseProvider.)
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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateLicenseKey
Validates the license key.
Top
See Also