Click here to Skip to main content
11,790,613 members (57,747 online)
Click here to Skip to main content
Articles » Languages » C# » General » Downloads
Add your own
alternative version

Accessing alternative data-streams of files on an NTFS volume

, 28 Jul 2010 CPOL 244.7K 4K 110
A pair of classes to encapsulate access to NTFS alternative data streams.
Compatibility wrapper
Unblock Files
  * Trinet.Core.IO.Ntfs - Utilities for working with alternate data streams on NTFS file systems.
  * Copyright (C) 2002-2010 Richard Deeming
  * This code is free software: you can redistribute it and/or modify it under the terms of either
  * - the Code Project Open License (CPOL) version 1 or later; or
  * - the GNU General Public License as published by the Free Software Foundation, version 3 or later;
  * This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
  * See the license files for details.
  * You should have received a copy of the licenses along with this code. 
  * If not, see <> and <>.

using System;

namespace Trinet.Core.IO.Ntfs
	/// <summary>
	/// Represents the attributes of a file stream.
	/// </summary>
	public enum FileStreamAttributes
		/// <summary>
		/// No attributes.
		/// </summary>
		None = 0,
		/// <summary>
		/// Set if the stream contains data that is modified when read.
		/// </summary>
		ModifiedWhenRead = 1,
		/// <summary>
		/// Set if the stream contains security data.
		/// </summary>
		ContainsSecurity = 2,
		/// <summary>
		/// Set if the stream contains properties.
		/// </summary>
		ContainsProperties = 4,
		/// <summary>
		/// Set if the stream is sparse.
		/// </summary>
		Sparse = 8,

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Richard Deeming
Software Developer Nevalee Business Solutions
United Kingdom United Kingdom
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.1509028.1 | Last Updated 28 Jul 2010
Article Copyright 2002 by Richard Deeming
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid