Provides MTK licensing activation and deactivation API.
More...
|
| static bool | Activate (const std::string &theDeveloperKey) |
| | Activates MTK licensing using the development license key.
|
| |
| static bool | Deactivate () |
| | Closes the active licensing session.
|
| |
| static void | SetRuntimeKeyLocation (const std::string &thePath) |
| | Sets an explicit path to the runtime license file.
|
| |
Provides MTK licensing activation and deactivation API.
The class is used to activate MTK with a development license key, close the active licensing session, and optionally specify an explicit runtime license file location for development and debugging scenarios.
- Examples
- MTKConverter/Program.cs, exploring/bom/Program.cs, exploring/brep_geometry/Program.cs, exploring/brep_topology/Program.cs, exploring/drawings/Program.cs, exploring/mesh/Program.cs, exploring/pmi/Program.cs, machining/dfm_analyzer/Program.cs, machining/feature_recognizer/Program.cs, meshing/mesh_generation/Program.cs, molding/dfm_analyzer/Program.cs, molding/feature_recognizer/Program.cs, nesting/nesting_computer/Program.cs, projector/poly_projector/Program.cs, sheet_metal/dfm_analyzer/Program.cs, sheet_metal/feature_recognizer/Program.cs, sheet_metal/unfolder/Program.cs, utilities/progress_bar/Program.cs, utilities/thumbnail_generation/Program.cs, and wall_thickness/analyzer/Program.cs.
◆ Activate()
| bool cadex::mtk::LicenseManager::Activate |
( |
const std::string & | theDeveloperKey | ) |
|
|
static |
Activates MTK licensing using the development license key.
The matching runtime license must be available before activation.
- Examples
- MTKConverter/Program.cs, exploring/bom/Program.cs, exploring/brep_geometry/Program.cs, exploring/brep_topology/Program.cs, exploring/drawings/Program.cs, exploring/mesh/Program.cs, exploring/pmi/Program.cs, machining/dfm_analyzer/Program.cs, machining/feature_recognizer/Program.cs, meshing/mesh_generation/Program.cs, molding/dfm_analyzer/Program.cs, molding/feature_recognizer/Program.cs, nesting/nesting_computer/Program.cs, projector/poly_projector/Program.cs, sheet_metal/dfm_analyzer/Program.cs, sheet_metal/feature_recognizer/Program.cs, sheet_metal/unfolder/Program.cs, utilities/progress_bar/Program.cs, utilities/thumbnail_generation/Program.cs, and wall_thickness/analyzer/Program.cs.
◆ Deactivate()
| bool cadex::mtk::LicenseManager::Deactivate |
( |
| ) |
|
|
static |
Closes the active licensing session.
Call this method before application exit to release server-side licensing resources and any occupied concurrency slot.
- Examples
- MTKConverter/Program.cs, exploring/bom/Program.cs, exploring/brep_geometry/Program.cs, exploring/brep_topology/Program.cs, exploring/drawings/Program.cs, exploring/mesh/Program.cs, exploring/pmi/Program.cs, machining/dfm_analyzer/Program.cs, machining/feature_recognizer/Program.cs, meshing/mesh_generation/Program.cs, molding/dfm_analyzer/Program.cs, molding/feature_recognizer/Program.cs, nesting/nesting_computer/Program.cs, projector/poly_projector/Program.cs, sheet_metal/dfm_analyzer/Program.cs, sheet_metal/feature_recognizer/Program.cs, sheet_metal/unfolder/Program.cs, utilities/progress_bar/Program.cs, utilities/thumbnail_generation/Program.cs, and wall_thickness/analyzer/Program.cs.
◆ SetRuntimeKeyLocation()
| void cadex::mtk::LicenseManager::SetRuntimeKeyLocation |
( |
const std::string & | thePath | ) |
|
|
static |
Sets an explicit path to the runtime license file.
Intended for development and debugging. In production, place the runtime license file next to the application executable.