How can I create or mark a file as hidden using .NET?
Use File.SetAttributes. "Hidden" is just one of many available attributes.