项目作者: rasberry

项目描述 :
NTFS MFT (master file table) raw reader and parser
高级语言: C#
项目地址: git://github.com/rasberry/NTFSDirect.git
创建时间: 2013-01-16T03:28:27Z
项目社区:https://github.com/rasberry/NTFSDirect

开源协议:

下载


NTFSDirect

NTFS MFT (master file table) raw reader and parser

Usage

  1. string vol = "c:";
  2. var fileList = new NTFSDirect.Enumerator(vol);
  3. foreach(string file in fileList) {
  4. FileInfo f = new FileInfo(file);
  5. if (!f.Exists) { continue; } //every file is enumerated even ones we don't have access to.
  6. //Do something with each path
  7. }

Get only some extensions

  1. string vol = "c:";
  2. var fileList = new NTFSDirect.Enumerator(vol, new [] {".txt", ".md"});
  3. foreach(string file in fileList) {
  4. FileInfo f = new FileInfo(file);
  5. if (!f.Exists) { continue; } //every file is enumerated even ones we don't have access to.
  6. //Do something with each path
  7. }

This code is based on the work found here