Click or drag to resize

Pc1File Method

Encrypt a file using RC4-compatible algorithm

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public static int File(
	string fileOut,
	string fileIn,
	byte[] key
)

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

Int32
Zero (0) if successful; otherwise it returns a nonzero error code
Remarks
Superseded by Cipher.StreamFile()
See Also