Click or drag to resize

SKMSaveKeyInformationToFile Method

This method saves all information inside key information into a file.

Namespace:  SKGL
Assembly:  SKM (in SKM.dll) Version: (
public static bool SaveKeyInformationToFile(
	KeyInformation keyInformation,
	string file,
	bool json = false


Type: SKGLKeyInformation
The key infromation that should be saved into a file
Type: SystemString
The entire path including file name, i.e. c:\folder\file.txt
json (Optional)
Type: SystemBoolean
Save the file using JSON format.

Return Value

Type: Boolean
If successful, true will be returned. False otherwise.
This method does not use the same JSON format structure as activation files. Instead, if you want to read these files using LoadKeyInformationFromFile(String, Boolean, Boolean), then activationFile has to be set to FALSE.
See Also