XdsObjects Help file
XdsObjects Namespace / XdsLicense Class / StoreLicense Event



StoreLicense Event
Event fires when XdsObjects needs to store a license
Syntax
Public Event StoreLicense As XdsLicense.StoreLicenseHandler
Dim instance As XdsLicense
Dim handler As XdsLicense.StoreLicenseHandler
 
AddHandler instance.StoreLicense, handler
public event XdsLicense.StoreLicenseHandler StoreLicense
public:
event XdsLicense.StoreLicenseHandler^ StoreLicense
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 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: 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