Click here to Skip to main content
15,891,033 members
Articles / Programming Languages / C#

Visual browsing of alternative data-streams in Windows Explorer

Rate me:
Please Sign up or sign in to vote.
4.82/5 (27 votes)
5 Dec 20053 min read 159.9K   5.5K   83  
ADSDetector information with code examples.
using System;


namespace VADSD
{
	/// <summary>
	/// Summary description for ADS.
	/// </summary>
	public class ADS
	{
		//Private Members//

		private long size; //file size
		private string streamName = ""; //stream name
		private string fullStreamName = ""; //stream name with path
		private string extention = "."; //file extention


		//Public Members//
		public long Size
		{
			get {return size;}
			set {size = value;}
		}

	
		public string StreamName
		{
			get {return streamName;}
			set 
			{
				streamName = value;
				if (streamName.LastIndexOf(".")>-1) 
				{
					extention = streamName.Substring(streamName.LastIndexOf("."));
				}
			}
		}

		public string FullStreamName
		{
			get {return fullStreamName;}
			set {fullStreamName = value;}
		}

		public string Extention
		{
			get {return extention;}
		}

		

		public ADS()
		{
			
		}
	}
}

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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Israel Israel
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions