CryptoSys PKI Toolkit Manual

WIPE_File

WIPE_File securely wipes and deletes a file using 7-pass DOD standards.

VB6/VBA Syntax

Public Declare Function WIPE_File Lib "diCrPKI.dll" (ByVal strFileName As String, ByVal nOptions As Long) As Long

nRet = WIPE_File(strFileName, nOptions)

Parameters

strFileName
[in] String specifying the file to be deleted.
nOptions
[in] Long option flags: not used in this release. Specify zero.

C/C++ Syntax

long _stdcall WIPE_File(const char *szFileName, long flags);

Returns (VB6/C)

Long: If successful, the return value is zero; otherwise it returns a non-zero error code.

.NET Equivalent

Wipe.File Method

Remarks

Wipes a file using the 7-pass DOD Standard according to [NISPOM] before deleting.

Example

nRet = WIPE_File("C:\Test\ToDelete.txt", 0)

See Also

[Contents] [Index]

[HOME]   [NEXT: X509_CertExpiresOn...]

Copyright © 2004-9 D.I. Management Services Pty Ltd. All rights reserved.