Encrypt a file using RC4-compatible algorithm
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static int File(
string fileOut,
string fileIn,
byte[] key
)
Public Shared Function File (
fileOut As String,
fileIn As String,
key As Byte()
) As Integer
Parameters
- fileOut String
- Full pathname of output file to be created. Must be different from fileIn
- fileIn String
- Full pathname of input file
- key Byte
- Key byte array, any length
Return Value
Int32Zero (0) if successful; otherwise it returns a nonzero
error code
RemarksSuperseded by Cipher.StreamFile()
See Also