1. Home
  2. Docs
  3. .NET Integration
  4. Standard setup
  5. Implement methods from IMainForm interface

Implement methods from IMainForm interface

The CopyProtectSoftware.IMainForm interface has 2 methods that are called internally by CopyProtectSoftware.dll.

 

EnableApp()
This is called when the app license is validated successfully and when it is activated successfully.
Typically you would then enable functionality so that the app functions as a fully licensed version.

 

SetLicenseStatus(string)
This is called whenever a license validation check is made with a message as to the current license status.
This is typically set in the text for a ToolStripStatusLabel.

Was this article helpful to you? Yes No

How can we help?