DataPlace
AssemblyLicenseProvider Class
CSCS.Core.SecurityAssemblyLicenseProvider
An assembly-based license provider.
Declaration Syntax
C#
public class AssemblyLicenseProvider : LicenseProvider
Members
All MembersConstructorsMethodsEvents



IconMemberDescription
AssemblyLicenseProvider()()()
Initializes a new instance of the AssemblyLicenseProvider class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLicense(LicenseContext, Type, Object, Boolean)
Generates a license if a valid key can be obtained.
(Overrides LicenseProvider.GetLicense(LicenseContext, Type, Object, Boolean).)
GetSavedKey(Type)
Gets a saved license key from the registry if it's there.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsKeyValid(Type, String, Boolean%)
Determines whether a key is valid for a type's assembly by validating the key's signature and embedded data values.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
NewLicenseGranted
Occurs when the user enters a valid license key and a License is granted.

OnNewLicenseGranted(LicenseProviderEventArgs)
Raises the NewLicenseGranted event.

PromptForKey(Type, Boolean)
Prompts the user for a license key. If valid, the method saves it to the registry and raises the NewLicenseGranted event.

RemoveSavedKey(Type)
Removes a saved license key from the registry if it's there.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
LicenseProvider
 AssemblyLicenseProvider

Assembly: CS.Core.Standard.UI (Module: CS.Core.Standard.UI) Version: 1.0.3271.19814