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

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -