Reputation:
See this. Does the same code (JohnWein's answer) work in 9x,Me,2K,7 too? If it doesn't please tell me what should I search for to do the same for 9x,Me,2k & 7?
Upvotes: 1
Views: 721
Reputation: 3219
How do I restore a file from the recycle bin using C#?
Have a look at this Code Project article. It uses SHFileOperation to perform operations in RecyclBin.
EDIT : To know how to use SHFileOperation in C# Please refer to this CodeProject article .This article continues to explore how to use the shell from C#.
Upvotes: 1