DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLicense Class / GetLicense Method / GetLicense(LicensedFunctions) Method
A combination of DicomObjects.Enums.LicensedFunctions flags, indicating the required functionality
Example

In This Topic
    GetLicense(LicensedFunctions) Method
    In This Topic
    Return a DicomLicense which supports the required set of functions
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetLicense( _
       ByVal Functions As LicensedFunctions _
    ) As DicomLicense
    public static DicomLicense GetLicense( 
       LicensedFunctions Functions
    )

    Parameters

    Functions
    A combination of DicomObjects.Enums.LicensedFunctions flags, indicating the required functionality

    Return Value

    A DicomLicense object
    Example
    LicensedFunctions requiredFunctions = LicensedFunctions.Read | LicensedFunctions.Write;
    DicomLicense license = DicomLicense.GetLicense(requiredFunctions);
                        
    if (license != null)
        // lic found
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also