Rss Feed
Tweeter button
Facebook button
Technorati button
Reddit button
Myspace button
Linkedin button
Webonews button
Delicious button
Digg button
Flickr button
Stumbleupon button
Newsvine button
logo
Apr
18
admin

Recursively search a directory to obtain a file list (Handles locked folders)

When using the GetFiles() C# method, we often have the problem of the search ending the moment it reaches a locked file or folder. Here we workaround that by writing our own recursive search method which is able to skip locked files and folders. /// <summary> /// Process a valid file, add it to the list of filepaths /// </summary> /// <param name="path"></param> private...
logo
Powered by Wordpress