creating hidden files using .NET

pvaju896 picture pvaju896 · Aug 7, 2010 · Viewed 9.7k times · Source

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

Answer

Jacob picture Jacob · Aug 7, 2010

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