ArcGIS Pro 2.9 API Reference Guide
OnValidateLicense Method

ArcGIS.Desktop.Framework.Contracts Namespace > ConfigurationManager Class : OnValidateLicense Method
Gives the configuration the chance to perform its own license checking. Returning false signals a licensing problem has occurred and the application should shut down.
Syntax
protected internal virtual bool OnValidateLicense()
Protected Friend Overridable Function OnValidateLicense() As Boolean
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ConfigurationManager Class
ConfigurationManager Members