DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLicense Class / CurrentLicense Property

In This Topic
    CurrentLicense Property
    In This Topic
    The DicomLicense current in use
    Public Shared Property CurrentLicense As DicomLicense
    Dim value As DicomLicense
    DicomLicense.CurrentLicense = value
    value = DicomLicense.CurrentLicense
    public static DicomLicense CurrentLicense {get; set;}
    public read-write property CurrentLicense: DicomLicense; static; 
    public static function get,set CurrentLicense : DicomLicense
    public: __property static DicomLicense* get_CurrentLicense();
    public: __property static void set_CurrentLicense( 
       DicomLicense* value
    static property DicomLicense^ CurrentLicense {
       DicomLicense^ get();
       void set (    DicomLicense^ value);

    Only one license can be in use at any time, and this property allows the developer to choose which of those available (from the InstalledLicenses should be used, or to tell which is currently in use.

    If no license has specifically been selected, then DicomObject will use the GetLicense method to obtain one when this method is first called or when a license is first required.


    Target Platforms: .NET CLR 4.8 or higher

    See Also