[ActiveLock-Development] [ activelock-Feature Requests-1017830 ] GetProductLicense
Brought to you by:
ialkan
From: SourceForge.net <no...@so...> - 2004-09-01 04:18:22
|
Feature Requests item #1017830, was opened at 2004-08-27 19:28 Message generated for change (Comment added) made by th2tran You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=526388&aid=1017830&group_id=70007 >Category: None >Group: None Status: Open >Resolution: Accepted Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: GetProductLicense Initial Comment: Suppose you want to display the licence type to the user. There is not a way to get the ProductLic. I noticed the degates for RegisteredUser, InstalledDate etc But what about just returning the Product Lic in a routine like simular to Aquire (SEE BELOW) Or is this a security hole? ThanX GDM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Function IActiveLock_GetProductLicense() As ProductLicense 'Modified by GDM 8/27/2004 If mKeyStore Is Nothing Then Err.Raise ActiveLockErrCodeConstants.alerrKeyStoreInvalid, "IActiv eLock_Acquire", "Key Store Provider hasn't been initialized yet." End If Dim Lic As ProductLicense Set Lic = mKeyStore.Retrieve(mSoftwareName) If Lic Is Nothing Then Err.Raise ActiveLockErrCodeConstants.alerrNoLicense, "IActiveLock _Acquire", "No valid license" End If ' Validate license ValidateLic Lic IActiveLock_GetProductLicense = Lic End Function ---------------------------------------------------------------------- >Comment By: Thanh Hai Tran (th2tran) Date: 2004-09-01 04:18 Message: Logged In: YES user_id=797792 Hi GDM, This is an API enhancement, not a bug. Kudos for contributing a sample implementation (I wish more people were like you). +1 Will add it to the next (beta?) release. /Thanh ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=526388&aid=1017830&group_id=70007 |