Wipe a file
Namespace: LLCryptoLib.ShredAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public bool WipeFile(
FileInfo filePath,
IShredMethod method,
bool delete
) |
Visual Basic |
---|
Public Function WipeFile ( _
filePath As FileInfo, _
method As IShredMethod, _
delete As Boolean _
) As Boolean |
Visual C++ |
---|
public:
bool WipeFile(
FileInfo^ filePath,
IShredMethod^ method,
bool delete
) |
Parameters
- filePath
- Type: System.IO..::..FileInfo
Complete file path of file to be wiped
- method
- Type: LLCryptoLib.Shred..::..IShredMethod
Shredding method
- delete
- Type: System..::..Boolean
If false it just rewrites the file and filename. If true, rewrites and then delete.
Return Value
True if the file has been successfully shredded
See Also