LicensePoint.Net Latest dll library class documentations.
Before setting up LP on your projects, please first create your program and download the latest dll files which can be found here: https://licensepoint.net/download/Class_Library.zipand add reference both dll on your project.
You will need to have your program token, the latest LP dll and variable key at hand
staticclassProgram { /// <summary> /// The main entry point for the application. /// </summary> [STAThread]staticvoidMain() {Api.LpiAuth.Secret="Your Application Secret Key"; //Sets your program secret throughout the programApi.LpiAuth.Initialize("Application Version"); //Carries out auto-update and grabs program variablesApplication.EnableVisualStyles();Application.SetCompatibleTextRenderingDefault(false);Application.Run(newForm1()); } }
On the form that shows after login add this:
publicForm2() {InitializeComponent();if (!ProgramVariables.Freemode) { Security.ChallengeCheck(); //Checks if the user has logged in, passed the initialize method and hasn't triggered any security alarms } }