/* Copyright (C) 2008-2016 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ using System.Diagnostics.CodeAnalysis; namespace Alphaleonis.Win32.Filesystem { /// The type of the data contained in the backup stream. public enum BackupStreamType { /// This indicates an error. None = 0, /// BACKUP_DATA /// Standard data. This corresponds to the NTFS $DATA stream type on the default (unnamed) data stream. /// Data = 1, /// BACKUP_EA_DATA /// Extended attribute data. This corresponds to the NTFS $EA stream type. /// ExtendedAttributesData = 2, /// BACKUP_SECURITY_DATA /// Security descriptor data. /// SecurityData = 3, /// BACKUP_ALTERNATE_DATA /// Alternative data streams. This corresponds to the NTFS $DATA stream type on a named data stream. /// AlternateData = 4, /// BACKUP_LINK /// Hard link information. This corresponds to the NTFS $FILE_NAME stream type. /// Link = 5, /// BACKUP_PROPERTY_DATA /// Property data. /// PropertyData = 6, /// BACKUP_OBJECT_ID /// Objects identifiers. This corresponds to the NTFS $OBJECT_ID stream type. /// ObjectId = 7, /// BACKUP_REPARSE_DATA /// Reparse points. This corresponds to the NTFS $REPARSE_POINT stream type. /// ReparseData = 8, /// BACKUP_SPARSE_BLOCK /// Sparse file. This corresponds to the NTFS $DATA stream type for a sparse file. /// SparseBlock = 9, /// BACKUP_TXFS_DATA /// Transactional NTFS (TxF) data stream. /// /// Windows Server 2003 and Windows XP: This value is not supported. [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Txfs")] TxfsData = 10 } }