IntlelliProtector supports .NET of versions 2.0, 3.0, 3.5, 4.0, 4.5 and 4.6+. You can create protection solution for your project. In order to protect you application follow the steps below.
How to use protected solution?
After protection you will get the code and libraries
- ApiSources Folder
This folder contains source files which should be included into your project in visual studio (you can just copy them and include all files in the solution explorer)
- Root folder
This folder contains libraries and data files.
-
Please copy all these files into the root folder of your visual studio project, include them, open Properies in the solution explorer and set property 'Copy to output directory': [Copy if newer] to all files:
- DotNetZip.dll
- ItpCore.dll
- ItpNativeSupportX32.dll
- ItpNativeSupportX64.dll
- ItpPopups.dll
- ItpWindows.dll
- Add files as references:
- ItpCore.dll
- ItpWindows.dll
After that you have to initialize the Engine on software start and use API (optional)
How to initialize the Engine?
- Create API instance somewhere
ItpApiClient _itpApiClient = new ItpApiClient();
- Call Init() or InitAsync()
private void FormMain_Load(object sender, EventArgs e)
{
_itpApiClient.Init();
}
How to re-protect IntelliProtector project?
- Protect project
- Rewrite files from Output folder
- Re-build your visual studio project
Example:
using
System;
using
System.Globalization;
using
System.Net;
using
System.Reflection;
using
System.Text;
using
System.Threading;
using
System.Windows.Forms;
using
ItpApiPlatformWindows;
using
ItpCore.Bo.Core.Local;
using
ItpCore.Bo.Core.Local.Response;
using
ItpCore.Constants;
using
ItpLibraryNetSampleCsharp.ByEmail;
namespace
ItpLibraryNetSampleCsharp
{
public
partial
class
FormMain : Form
{
readonly
ItpApiClient _itpApiClient =
new
ItpApiClient();
public
FormMain()
{
}
private
void
FormMain_Load(
object
sender, EventArgs e)
{
_itpApiClient.Init();
}
}
}