First download the C# sample code
Find below how to add a DLL to Visual Studio C#
• | In Visual Studio Solution Explorer go to References, select "licenseProtector" and remove it. |
• | Select "References" and add a reference |
• | Chose tab "COM" |
• | Select the "Licence Protector Library" entry whose path points to the new LicProtector410.exe. The COM exe can be found in the folder ....\Licence Protector\4.1\files for distribution\COMexe |
• | Press button "Select" |
• | Press button "Ok" - Now the new Licence Protector object is available in your application |
• | Rebuild your application |
The latest information about the ProgID, ClASSID, IID, LIBID can be found here.
As Licence Protector is a COM server DLL it is used the same way you would integrate a Word automation. Just google for - Word Automation DLL C# to find guides for different compilers.
• | C# creates an interop.licenseprotector.dll. This DLL must be installed on the same directory like the main EXE file.exe |
• | Compiling with .NET 4 will result in an error. Compile using the COM exe |
An installation without needing administration rights to register the COM exe is possible. See details - Register DLL / COM exe without admin rights
To protect the code against de-compilation or reverse engineering, you can combine Licence Protector with All-In-One Protector for a special bundle price.
See chapter: Code Protection / Decompile Protection