public static NVRConnectControl GetInstance()
        {
            if (m_Instance == null)
            {
                lock (m_LockObj)
                {
                    if (m_Instance == null)
                    {
                        m_Instance = new NVRConnectControl();
                    }
                }
            }

            return m_Instance;
        }
 public void Dispose()
 {
     if (m_UserID >= 0)
     {
         CHCNetSDK.NET_DVR_Logout(m_UserID);
     }
     if (m_InitSucceed)
     {
         CHCNetSDK.NET_DVR_Cleanup();
     }
     m_Instance = null;
 }