/// <summary> /// /// </summary> /// <param name="volume"></param> /// <returns></returns> public static AttrDef[] GetInstances(string volume) { Helper.getVolumeName(ref volume); FileRecord record = FileRecord.Get(volume, MftIndex.ATTRDEF_INDEX, true); return(AttrDef.GetInstances(record.GetContent())); }
/// <summary> /// /// </summary> /// <param name="path"></param> /// <returns></returns> public static AttrDef[] GetInstancesByPath(string path) { FileRecord record = FileRecord.Get(path, true); return(AttrDef.GetInstances(record.GetContent())); }
public static AttrDef[] GetInstances(string volume) { FileRecord record = FileRecord.Get(volume, ATTRDEF_INDEX, true); return(AttrDef.GetInstances(record.GetBytes())); }