I need search a file on my server
Hello! orry, I'm not english, and I don't speak it language very well.
I want to search a file in one of the folders of my ASP.NET WebSite. I'm using c# and I want to search the file.
I used
string[] t = Directory.GetDirectories("\\ArchAudio");
but I don't know how to set my web server like the root directory.
If I use Directory.SetCurrentDirectory("~"); it fails
Anyone could help me?
Thank you!
|