Reputation: 85
I used the System.IO.File.SetAttributes
method to set the file attributes
what method I need to use if I want to remove a existing file attribute and keep the other attributes unmodified?
Upvotes: 1
Views: 146
Reputation: 2242
Check out the examples on MSDN: https://msdn.microsoft.com/en-us/library/system.io.file.setattributes%28v=vs.110%29.aspx
Upvotes: 2