CryptoSys API Library Manual

Pc1.File Method

Encrypt a file using RC4-compatible algorithm

Syntax

[C#]
public static int File(
	string fileOut,
	string fileIn,
	byte[] key
)
[VB.NET]
Public Shared Function File ( _
	fileOut As String, _
	fileIn As String, _
	key As Byte() _
) As Integer

Parameters

fileOut
Full pathname of output file to be created. Must be different from fileIn
fileIn
Full pathname of input file
key
Key byte array, any length

Return Value

0 if successful or non-zero error code

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: PC1_File

[Contents] [Index]

[HOME]   [NEXT: Rng.BytesWithPrompt Method (Int32)...]

Copyright © 2001-11 D.I. Management Services Pty Ltd. All rights reserved.