Hide Folder
C#
3
Posts
2
Posters
0
Views
1
Watching
-
Hey, How can I hide a folder from .NET? I'm making a folder for writting some files to and at the end of the program I zip that folder. But I want this folder to be invisible for the user. thx!
you can make files and folders hidden.
DirectoryInfo di = new DirectoryInfo("foo"); di.Attributes = FileAttributes.Hidden;
hope this works for files you can use File.SetAttributes.
Visual Studio can't evaluate this, can you?
public object moo { __get { return moo; } __set { moo = value; } }
-
you can make files and folders hidden.
DirectoryInfo di = new DirectoryInfo("foo"); di.Attributes = FileAttributes.Hidden;
hope this works for files you can use File.SetAttributes.
Visual Studio can't evaluate this, can you?
public object moo { __get { return moo; } __set { moo = value; } }