public void Dispose()
        {
            lock (_mutexLocker)
            {
                if (m_pAoInit == null)
                {
                    return;
                }

                if (m_extensionCode > 0 &&
                    m_pAoInit.IsExtensionCheckedOut((esriLicenseExtensionCode)m_extensionCode))
                {
                    m_pAoInit.CheckInExtension((esriLicenseExtensionCode)m_extensionCode);
                }
                UnRegisterLicenseService();
                m_pAoInit = null;
            }
        }
Пример #2
0
 /// <summary>
 /// Indicates if the extension is currently checked out.
 /// </summary>
 public bool IsExtensionCheckedOut(esriLicenseExtensionCode code)
 {
     return(m_AoInit.IsExtensionCheckedOut(code));
 }