Click or drag to resize
Licenseable Class
Provides a set of static (Shared in Visual Basic) methods for objects that implement ILicense.
Inheritance Hierarchy
SystemObject
  Babel.LicensingLicenseable

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 static class Licenseable

The Licenseable type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleAddLicenseT
An extension method that adds a license to the current license builder.
Public methodStatic memberBuild
An extension method that converts the input license to a ILicenseBuilder object.
Public methodStatic memberCopyFromT
An ILicense extension method that copies ILicense objects.
Public methodStatic memberExpiresAtT
An extension method that is used to assign an expiration date to the license object.
Public methodStatic memberForAnyAssemblyT
An extension method that is used to license all assemblies
Public methodStatic memberForAnyComponentT
An extension method used to license any component.
Public methodStatic memberForAssemblyT(T, Assembly)
An extension method that is used to partially fill the ILicense objects with the information provided by the given Assembly.
Public methodStatic memberForAssemblyT(T, String)
An extension method that is used to partially fill the ILicense objects with the information provided by the full assembly name.
Public methodStatic memberForBetaTestersT
An extension method used to add a BetaRestriction object to the license.
Public methodStatic memberForProductT
An extension method that is used to provide information about the licensed product.
Public methodStatic memberIssuedAtT
An extension method that is used to assign the license issue date.
Public methodStatic memberLicensedToT
An extension method that is used to fill licensee information.
Public methodStatic memberLoad
An extension method that loads the license from a given file.
Public methodStatic memberCode exampleNotForVirtualEnvironmentT
An ILicense extension method that is used to prevent the execution of the application in a virtual environment.
Public methodStatic memberRemoveLicenseT
An extension method that removes the given license object from the current license builder.
Public methodStatic memberCode exampleRestrictedToProcessT
An ILicense extension method that is used to restrict the license usage to a list of process names.
Public methodStatic memberCode exampleSaveT
An extension method that saves the license to a file.
Public methodStatic memberCode exampleSignWith(ILicense, ISignatureProvider)
An ILicense extension method that is used to sign the current license object with the given ISignatureProvider.
Public methodStatic memberSignWith(ILicenseBuilder, ISignatureProvider)
An extension method used to sign the current license state with a given signature provider.
Public methodStatic memberCode exampleSignWithKeys(ILicense, String, String)
An ILicense extension method that is used to sign the current license object with the given key pair.
Public methodStatic memberSignWithKeys(ILicenseBuilder, String, String)
An extension method used to sign the current license state with a given key pair.
Public methodStatic memberSupportExpiresAtT
An extension method that is used to assign the support expiration date to the license object.
Public methodStatic memberToReadableString
An ILicenseBuilder extension method that converts the current license to a readable string.
Public methodStatic memberCode exampleToRestrictedDomainT
An ILicense extension method used to add a DomainRestriction object to the license.
Public methodStatic memberUseOnlyAtT
An ILicense extension method used to add a UsageRestriction object to the license.
Public methodStatic memberValidateSignature
An extension method that validates the current license signature.
Public methodStatic memberValidateWith
An ILicense extension method that validates the current license object with the given ISignatureProvider.
Public methodStatic memberValidateWithPublicKey
An ILicense extension method that validates the current license object with the given public key.
Public methodStatic memberWithComponentsT
An extension method used to add component information.
Public methodStatic memberWithFeatureT(T, Feature)
An extension method that add a feature to the license.
Public methodStatic memberCode exampleWithFeatureT(T, String, String, Byte, NullableDateTime, Byte)
An extension method that add a feature to the license.
Public methodStatic memberWithFeaturesT
An extension method that is used to add several license Feature objects.
Public methodStatic memberCode exampleWithFieldT
An extension method that is used to add license fields.
Public methodStatic memberCode exampleWithFieldsT(T, Field)
An extension method that is used to add several license fields.
Public methodStatic memberWithFieldsT(T, IDictionaryString, String)
An extension method that is used to add a dictionary of fields.
Public methodStatic memberCode exampleWithHardwareKeyT
An extension method used to add a HardwareRestriction object to the license.
Public methodStatic memberWithIdT
An extension method used to assign an Id to the license.
Public methodStatic memberWithMaximumRunCountT
Defines a trial license that allow the application to run only for given number of times.
Public methodStatic memberWithMaximumRunningInstancesT
Defines a trial license that allow only given number of application instances running simultaneously.
Public methodStatic memberWithRestrictionsT
An extension method that is used to add several license Restriction objects.
Public methodStatic memberCode exampleWithTrialDaysT
Defines a trial license which can be used for a limited number of days.
Public methodStatic memberWithTrialRunTimeT
Defines a trial license which can run for a limited time period.
Public methodStatic memberWithTypeT
An extension method that is used to assign the license type.
Public methodStatic memberWithUniqueIdT
An extension method that is used to assign a unique identifier to a license.
Top
See Also