Marc Geerts

Marc Geerts

  • NA
  • 1
  • 0

GetAttributes on DFS

Jun 14 2010 9:54 AM

I like to read file attributes (ReadOnly attribute) using .NET function File.GetAttributes(). This works fine on a local drive, but when using the function on a network share (DFS with reparse points) the function allways returns AttributeNormal. The DOS function ATTRIB does return the right attributes. Does anyone have a clue?
Setting an attribute with File.SetAttributes() works OK.
Marc