XdsObjects Help file
XdsObjects Namespace / XdsLicense Class / RetrieveLicense Event



In This Topic
    RetrieveLicense Event
    In This Topic
    Event fired when XdsObjects needs to retrieve a previously stored license
    Syntax
    Public Event RetrieveLicense As XdsLicense.RetrieveLicenseHandler
    Dim instance As XdsLicense
    Dim handler As XdsLicense.RetrieveLicenseHandler
     
    AddHandler instance.RetrieveLicense, handler
    public event XdsLicense.RetrieveLicenseHandler RetrieveLicense
    public:
    event XdsLicense.RetrieveLicenseHandler^ RetrieveLicense
    Remarks

    Normally, XdsObjects 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 the StoreLicense event, and then to provide it on request via this 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also