Wipe an empty directory: rename old empty directory and
then deletes it. Two passes: rename each dir, then delete each renamed dir.
Namespace: LLCryptoLib.ShredAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public string WipeEmptyDir(
DirectoryInfo di
) |
Visual Basic |
---|
Public Function WipeEmptyDir ( _
di As DirectoryInfo _
) As String |
Visual C++ |
---|
public:
String^ WipeEmptyDir(
DirectoryInfo^ di
) |
Parameters
- di
- Type: System.IO..::..DirectoryInfo
The directory to be wiped
Return Value
The random name to which the directory was named before it was deleted
See Also