ComponentFactory.Krypton.Ribbon.EncryptedLicenseProvider.GetLicenseFilePath C# (CSharp) Méthode

GetLicenseFilePath() protected méthode

Called by GetLicenseKey to get the file path to obtain the license from (if there is no runtime license saved in the context)
This can be overridden to change the file used to store the design time license for the provider. By default the the license file is stored in the same directory as the component executable with the name based on the fully qualified type name eg MyNamespace.MyControl.lic
protected GetLicenseFilePath ( System.ComponentModel.LicenseContext context, Type type ) : string
context System.ComponentModel.LicenseContext The licence context
type System.Type The type to get the license for
Résultat string
        protected virtual string GetLicenseFilePath(LicenseContext context, Type type)
        {
            string dir = GetLicenseDirectory(context, type);
            return String.Format(@"{0}\{1}.lic", dir, type.FullName);
        }