DirectorySecurity for directory with long path

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • theindescribablehunk
    New Member
    • Sep 2008
    • 1

    #1

    DirectorySecurity for directory with long path

    Hi,

    I previously used DirectoryInfo objects to access the DirectorySecuri ty object so i could enumerate the ACL for specific directories. Unfortunately the DirectoryInfo object doesn't support path lengths greater than MAX_PATH (260). Does anyone know how i can access the ACL for directories that have a path greater than MAX_PATH?

    I found a very good article regarding long paths at

    http://blogs.msdn.com/bclteam/archive/2007/03/26/long-paths-in-net-part-2-of-3-long-path-workarounds-kim-hamilton.aspx

    but its more focused for files.


    Any info / tips would be greatly appreciated. Thanks
Working...