Page 1 of 1

Adding "Licensed To:" to the app title

PostPosted: Fri Nov 03, 2017 5:52 am
by zyNoT
How would I go about adding the registration name to the top of the app form?

Basically at the top of the app form I'd like it to say Licensed to User.

Re: Adding "Licensed To:" to the app title

PostPosted: Fri Nov 03, 2017 7:57 am
by Enigma
Hi, for this purpose you need to use Enigma API functions.

Check Enigma installation folder, EnigmaSDK subfolder, select the programming language that you use and attach sdk files to your project. Then, use the functions to extract the license name from protection.

For delphi, this function located in enigma_ide.pas, call it as following:
Code: Select all
var
  name, key : AnsiString;
begin
  if EP_RegistrationLoadKeyA(name, key) then
  begin
  end;
end;

// If unicode registration scheme is used, use the function EP_RegistrationLoadKeyW


For C# include a class Enigma_IDE from the file Enigma_IDE.cs, the usage is the same as for Delphi.

Re: Adding "Licensed To:" to the app title

PostPosted: Fri Nov 03, 2017 8:10 pm
by zyNoT
Thank you for the quick reply. What if I was using VB.NET?

Re: Adding "Licensed To:" to the app title

PostPosted: Thu Nov 30, 2017 3:46 pm
by Enigma
Just in case anyone will be interesting in the same question, there are a lot of examples of usage of Enigma API functions in the Examples folder of Enigma Protector and function definitions in EnigmaSDK folder.

For VB.NET Enigma SDK is located at the folder "EnigmaSDK\Visual Basic (.NET)\"