Click or drag to resize

Licensing Class

Provides access to information about DME Component Libraries licensing.
Inheritance Hierarchy
SystemObject
  AGI.FoundationLicensing

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public sealed class Licensing

The Licensing type exposes the following members.

Constructors
  NameDescription
Public methodLicensing
Initializes a new instance. It is generally not necessary to construct instances of this type.
Top
Properties
  NameDescription
Public propertyStatic memberLicensedComponents
Gets a list of components that are licensed for use.
Top
Methods
  NameDescription
Public methodStatic memberActivateLicense
Loads a DME Component Libraries license from the specified string. In order to minimally protect your license from use by others, this string should be embedded in your application rather than included as a separate file with your application.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberFindComponent
Find a licensed component of the given name, if a license has been activated for that component.
Public methodStatic memberGetComponentExpirationDate
Gets the expiration date of the specified component. The component cannot be used after this date.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsComponentLicenseValid
Determines if a valid license is available for the specified component.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberValidateComponentLicense
Checks that the license for a specified component is valid, and throws an exception if it is not.
Top
See Also