optimization - Optimized way to get the whole ACLs of a directory in c# -
is there optimal way whole acls entry of files , directories in directory in c# ?
at minute, i'm using kind of code files , sames directories :
string[] files = file.getfiles(directory); foreach (string linefiles in files) { directorysecurity dsecurityfile = file.getaccesscontrol(linefiles); displayaccessrule(dsecurityfile, linefiles); } but take long have results. guys have idea optimized way through ?
Comments
Post a Comment