# Using GetLicensedFeatures Method

Use the VisionPro security API and determine which licenses are enabled with the GetLicensedFeatures method within your vision application. The following code example lists each enabled license:

Copy

    Cognex.Vision.StringCollection licensedFeatures;
    licensedFeatures = License.GetLicensedFeatures(false, false, string.Empty);

    foreach (string feature in licensedFeatures)
    System.Console.WriteLine(feature);

Be aware that your security device might have enabled licenses but they do not appear in this list because your security device is not within its valid software update maintenance period. See the topic Software Update Maintenance Period for details.