Typically there are 3 ways to disable an application before the license is successfully validated.
- Partial functionality – the ‘free’ version
- Disable menu items and toolbar buttons – the non-functional version
- Mixture of the 2
In our example app, the DisableApp method sets a flag that makes it act with limited functionality – i.e. the free or trial version.
If you decide to completely cripple the app then make sure that you leave the ‘Activate’ toolbar button in an active/enabled state.