DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLicense Class / StoreLicense Event






In This Topic
    StoreLicense Event
    In This Topic
    Event fires when DicomObjects needs to store a license
    Syntax
    'Declaration
     
    
    Public Event StoreLicense As StoreLicenseHandler
    'Usage
     
    
    Dim instance As DicomLicense
    Dim handler As StoreLicenseHandler
     
    AddHandler instance.StoreLicense, handler
    public event StoreLicenseHandler StoreLicense
    public event StoreLicense: StoreLicenseHandler; 
    In JScript, you can handle the events defined by another class, but you cannot define your own.
    public: __event StoreLicenseHandler* StoreLicense
    public:
    event StoreLicenseHandler^ StoreLicense
    Remarks

    Normally, DicomObjects stores licenses internally, using a combination of registry locations and files, but on some machines this is not feasible due to excessive security restrictions on the account under which it is running. In these cases, a developer may choose to intercept the storage of the license via this event, and then to provide it on request via the RetrieveLicense event.

    Note that DeleteAllLicenses does not affect this mechanism, so it is the developer's responsiblity to clear any stored key if required.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also