示例#1
0
        public override void Close()
        {
#endif
            if (m_hash != null)
            {
                try
                {
#if !KeePassUAP
                    m_hash.TransformFinalBlock(new byte[0], 0, 0);
                    m_pbFinalHash = m_hash.Hash;
#else
                    m_pbFinalHash = m_hash.GetHashAndReset();
#endif
                }
                catch (Exception) { Debug.Assert(false); }

                m_hash = null;
            }

            m_sBaseStream.Close();
        }