Click or drag to resize

ConfigFileSaveEncrypted Method

Saves the contents of the ConfigFile object to the AES-256 encrypted file specified as a parameter, using the provided key to encrypt it. The output file uses an INI-style structure.

Returns one of the Error code constants (OK on success).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error SaveEncrypted(
	string path,
	byte[] key
)

Parameters

path
Type: SystemString

[Missing <param name="path"/> documentation for "M:Godot.ConfigFile.SaveEncrypted(System.String,System.Byte[])"]

key
Type: SystemByte

[Missing <param name="key"/> documentation for "M:Godot.ConfigFile.SaveEncrypted(System.String,System.Byte[])"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.ConfigFile.SaveEncrypted(System.String,System.Byte[])"]

See Also