private void Clear() { m_pgRootGroup = null; m_vDeletedObjects = new PwObjectList <PwDeletedObject>(); m_uuidDataCipher = StandardAesEngine.AesUuid; m_caCompression = PwCompressionAlgorithm.GZip; m_uKeyEncryptionRounds = PwDefs.DefaultKeyEncryptionRounds; m_pwUserKey = null; m_memProtConfig = new MemoryProtectionConfig(); m_vCustomIcons = new List <PwCustomIcon>(); m_strName = string.Empty; m_strDesc = string.Empty; m_strDefaultUserName = string.Empty; m_bUINeedsIconUpdate = true; m_ioSource = new IOConnectionInfo(); m_bDatabaseOpened = false; m_bModified = false; m_pwLastSelectedGroup = PwUuid.Zero; m_pwLastTopVisibleGroup = PwUuid.Zero; m_pbHashOfFileOnDisk = null; m_pbHashOfLastIO = null; }
internal void Clear() { m_pgRootGroup = null; m_vDeletedObjects = new PwObjectList<PwDeletedObject>(); m_uuidDataCipher = StandardAesEngine.AesUuid; m_caCompression = PwCompressionAlgorithm.GZip; m_uKeyEncryptionRounds = PwDefs.DefaultKeyEncryptionRounds; m_pwUserKey = null; m_memProtConfig = new MemoryProtectionConfig(); m_vCustomIcons = new List<PwCustomIcon>(); m_bUINeedsIconUpdate = true; m_strName = string.Empty; m_dtNameChanged = PwDefs.DtDefaultNow; m_strDesc = string.Empty; m_dtDescChanged = PwDefs.DtDefaultNow; m_strDefaultUserName = string.Empty; m_dtDefaultUserChanged = PwDefs.DtDefaultNow; m_uMntncHistoryDays = 365; m_ioSource = new IOConnectionInfo(); m_bDatabaseOpened = false; m_bModified = false; m_pwLastSelectedGroup = PwUuid.Zero; m_pwLastTopVisibleGroup = PwUuid.Zero; m_bUseRecycleBin = true; m_pwRecycleBin = PwUuid.Zero; m_dtRecycleBinChanged = PwDefs.DtDefaultNow; m_pwEntryTemplatesGroup = PwUuid.Zero; m_dtEntryTemplatesChanged = PwDefs.DtDefaultNow; m_vCustomData = new StringDictionaryEx(); m_pbHashOfFileOnDisk = null; m_pbHashOfLastIO = null; m_bUseFileTransactions = false; }