• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 555
  • Last Modified:

C# Alternate Data Streams (ADS) Directories / Folders

Hi All,

I read an excellent article written by Stephen Toub entitled, “Iterating NTFS Streams”, and found it to be most helpful. The example code worked perfectly.

I have however, been researching the subject in order to find a way of detecting an ADS within a directory (as opposed to a file). I know that it is possible but I cannot find anything authoritative on the subject and was hoping that someone on Experts Exchange may be able to point me in the right direction.

Any information you may be able to share would be greatly appreciated.

1 Solution
systemsgoAuthor Commented:
I have finally figured it out. I need to replace FileInfo with FileSystemInfo.

FileSystemInfo will handle the directories.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now