Search code examples
.netfile-iofile-properties

creating hidden files using .NET


How can I create or mark a file as hidden using .NET?


Solution

  • Use File.SetAttributes. "Hidden" is just one of many available attributes.