diff --git a/API_General.cpp b/API_General.cpp index 1877c1d..117b7a5 100644 --- a/API_General.cpp +++ b/API_General.cpp @@ -121,6 +121,18 @@ __stdcall EgtGetVersionInfo( wchar_t*& wsVer) return (( wsVer == nullptr) ? FALSE : TRUE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetKeyInfo( wchar_t*& wsKey) +{ + // recupero le informazioni sulla protezione + string sKey ; + if ( ! ExeGetKeyInfo( sKey)) + return FALSE ; + wsKey = _wcsdup( stringtoW( sKey)) ; + return (( wsKey == nullptr) ? FALSE : TRUE) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtGetOsInfo( wchar_t*& wsOs) diff --git a/EgtInterface.rc b/EgtInterface.rc index d0e9d6f..7526761 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ