DirectoryInfo.Attributes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • HKannen

    #1

    DirectoryInfo.Attributes

    Hello everybody,

    how can I remove the ReadOnly Attribute from a directory in my C# Web
    Service ?

    Thanks for your help
  • Shiva

    #2
    Re: DirectoryInfo.A ttributes

    Hi,
    Use File.SetAttribu tes(). It works on folders also.

    "HKannen" <HKannen@discus sions.microsoft .com> wrote in message
    news:9688CF39-CC62-41D9-AD1A-93A04D74E68D@mi crosoft.com...
    Hello everybody,

    how can I remove the ReadOnly Attribute from a directory in my C# Web
    Service ?

    Thanks for your help


    Comment

    Working...