DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLicense Class / GetLicense Method / GetLicense() Method






In This Topic
    GetLicense() Method
    In This Topic
    Allow DicomObjects to select a license
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetLicense() As DicomLicense
    'Usage
     
    
    Dim value As DicomLicense
     
    value = DicomLicense.GetLicense()
    public static DicomLicense GetLicense()
    public function GetLicense(): DicomLicense; static; 
    public static function GetLicense() : DicomLicense;
    public: static DicomLicense* GetLicense(); 
    public:
    static DicomLicense^ GetLicense(); 

    Return Value

    A DicomLicense object
    Remarks
    When this method is used (either explicitly, or implicitly via use of licensed functionality or getting the CurrentLicense property before choosing a license), the DicomObjects will select the first DicomObjects.Enums.LicenseTypes.Full license available in the InstalledLicenses collection, or failing that a DicomObjects.Enums.LicenseTypes.Developer license.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also