コード例 #1
0
        public void Dispose()
        {
            Contract.Ensures(m_hashHandle == null || m_hashHandle.IsClosed);
            Contract.Ensures(m_algorithmHandle == null || m_algorithmHandle.IsClosed);

            if (m_hashHandle != null)
            {
                m_hashHandle.Dispose();
            }

            if (m_algorithmHandle != null)
            {
                m_algorithmHandle = null;
            }
        }
コード例 #2
0
 public void Dispose()
 {
     _hashHandle.Dispose();
 }