mySobek Home   |   Help
Skip Navigation Links.
MISSING BANNER
Code Details >> Tools >> SecurityInfo >> WriteToEncryptedFile

SecurityInfo.WriteToEncryptedFile Method



Writes text to a file encrypted in DES encryption. (128 bit symmetric encryption)


Namespace: SobekCM.Tools
Assembly: SobekCM_Tools (in SobekCM_Tools.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
public bool WriteToEncryptedFile(
	string TextToWrite,
	string Filename,
	string Key,
	string Iv,
	int Position
)

Parameters

TextToWrite
Type: System..::..String
Text which will be written to the file
Filename
Type: System..::..String
Path and name of file to be written to
Key
Type: System..::..String
8 character (64bit) key for encryption
Iv
Type: System..::..String
8 character (64bit) initialization vector for encryption
Position
Type: System..::..Int32
Character position in file to write the text

Return Value

Type: Boolean
TRUE if written successfully, otherwise FALSE

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )