Search the Community
Showing results for tags 'getenvironmentvariable'.
Found 1 result
Hi, I have written some code for a GUI. When user clicks install button in My GUI then it will run a winlicense protected exe application. At this moment I want to know that, How to use Custom WinlicenseSDK.dll functions in my AutoIT GUI? Link this Custom WinlicenseSDK.dll with my winlicense protected exe application? Retrieve the hardware id of HDD, CPU, BIOS and made a combined machine ID through CustomWinlicenseSDK.dll? Based on provided machine ID how to install the license key to the computer through the protected application. This is my humble request to all Autoit expert that “Please give me an Example Script”. I am a new coder and I like this forum because this place is very very helpful. I have completed my GUI without any person’s direct help, which has been happened because I have got enough friendly post in this forum. Now I am in last stage also it seems too much complex to me. and in my country very few people have knowledge about AutoIT. So please help me regarding this matter. I asked my questions to Winlicense support team. The answer is written below. But I cannot realize it completely. So please give me an example script. Here are my protected EXE and Winlicense SDK. https://drive.google.com/file/d/0Bx3JhZJEsjjBenRfN3hXTV9EeWc/view?usp=drive_web "" Hi Nurul, As AutoIt is running as interpreted code, we don't have a direct way to call the SDK via function names for AutoIt applications. You can use a different approach to call the SDK using the "GetEnvironmentVariable" bridge as we present to .NET applications. In order to enable the SDK via the "GetEnvironmentVariable", you have to enable the option "EnvironmentSDK" in the SecureEngine Config panel (please, read at the end of this email to see how to enable that panel). Please, refer to the Help File and the Trial-Registration (.NET) example (in the WinlicenseSDK/Examples subfolder) so you can see how the SDK is called via the GetEnvironmentVariable. If you have any problems or questions, let us know please. If you don't see the "SecureEngine Config" panel, please, edit your WinLicense.ini file (in the same folder as Winlicense.exe) and add the entry "ShowSecureEngineOptions = yes" under the "[General]" tab. After that, restart Winlicense.exe again (the "SecureEngine Config" link should appear on the left panel) Please, check the following screenshot with the entry “ShowSecureEngineOptions” added in the Winlicense.ini file."""