FeatureDescription(FeatureName: String): String;
FeatureName. Feature name.
The FeatureDescription property returns name of a system feature.
Names of system features are contained in the UiLicenseFeatureType enumeration brief description.
To execute the example, add links to the Host and Ui system assemblies.
Sub UserProc;
Var
LicManager: ILicenseManager;
AllFeatures: IStringList;
Feature: String;
Count,i: Integer;
Begin
LicManager := WinApplication.Instance.LicenseManager;
// Get list of available features
AllFeatures := LicManager.GetAllFeatures;
Count := AllFeatures.Count;
// Display list of names of obtained features
For i := 0 To Count - 1 Do
Feature := AllFeatures.Item(i) As String;
Debug.WriteLine(LicManager.FeatureDescription(Feature));
End For;
End Sub UserProc;
After executing the example, the console will display a list of features names.
See also: