KeyGenerator 1.6g8 :
- aggiornamento e modifiche per gestione codici chiavi hardware.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "/EgtDev/Include/EGnGetModuleVer.h"
|
||||
#include "/EgtDev/Include/EgtStringConverter.h"
|
||||
#include "/EgtDev/Include/EgtIniFile.h"
|
||||
#include "/EgtDev/Include/SELkLockId.h"
|
||||
#include "/EgtDev/Include/SELkKeyProc.h"
|
||||
|
||||
using namespace std ;
|
||||
@@ -82,6 +83,7 @@ CKeyGeneratorApp::InitInstance( void)
|
||||
m_pszProfileName = p ;
|
||||
|
||||
// verifico la protezione
|
||||
SetLockType( KEY_LOCK_TYPE_HW) ;
|
||||
string sKey = GetPrivateProfileStringUtf8( "General", "Key", "", m_pszProfileName) ;
|
||||
if ( VerifyKey( sKey, 1230, 16, 10) != KEY_OK)
|
||||
return FALSE ;
|
||||
|
||||
Reference in New Issue
Block a user