Example #1
0
 public void Release()
 {
     if (m_dll != null && m_handle != IntPtr.Zero)
     {
         if (m_dll.adRelease(m_handle) == CoreDll.Error.AccessDenied)
         {
             Stop();
             Thread.Sleep(10);
             m_dll.adRelease(m_handle);
         }
     }
 }