Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxLicenseManager.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxLicenseManager : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxLicenseManager(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxLicenseManager obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
53 public virtual bool IsProductActivated(bool bShowActivation) {
54 bool ret = PCADGlobalsPINVOKE.CFxLicenseManager_IsProductActivated__SWIG_0(swigCPtr, bShowActivation);
56 return ret;
57 }
58
59 public virtual bool IsProductActivated() {
62 return ret;
63 }
64
65 public virtual bool StartUpCheck() {
68 return ret;
69 }
70
71 public virtual bool StartActivation() {
74 return ret;
75 }
76
77 public virtual void ShowDashboard(bool bForce) {
80 }
81
82 public virtual void ShowMessage(CFxString msg, CFxLicenseManager.MessageType msgType) {
85 }
86
87 public enum MessageType {
88 Info,
89 Error
90 }
91
92}
93
94}
CFxLicenseManager(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(CFxLicenseManager obj)
virtual void ShowMessage(CFxString msg, CFxLicenseManager.MessageType msgType)
virtual bool IsProductActivated(bool bShowActivation)
virtual void Dispose(bool disposing)
virtual void ShowDashboard(bool bForce)
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
static bool CFxLicenseManager_StartUpCheck(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxLicenseManager_ShowMessage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void delete_CFxLicenseManager(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxLicenseManager_IsProductActivated__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxLicenseManager_IsProductActivated__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CFxLicenseManager_ShowDashboard(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool CFxLicenseManager_StartActivation(global::System.Runtime.InteropServices.HandleRef jarg1)