[ActiveLock-Development] [ activelock-Feature Requests-1017830 ] GetProductLicense
Brought to you by:
ialkan
From: SourceForge.net <no...@so...> - 2005-02-26 05:01:42
|
Feature Requests item #1017830, was opened at 2004-08-27 14:28 Message generated for change (Comment added) made by mcrute You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=526388&aid=1017830&group_id=70007 Category: None Group: None >Status: Closed Resolution: Accepted Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Thanh Hai Tran (th2tran) 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: Michael E. Crute (mcrute) Date: 2005-02-26 00:01 Message: Logged In: YES user_id=564093 Issue resolved. Closing ticket. ---------------------------------------------------------------------- Comment By: Thanh Hai Tran (th2tran) Date: 2004-08-31 23: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 |