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: 4.0.2.6 (4.0.2.6)
Syntax
public static bool SaveKeyInformationToFile(
	KeyInformation keyInformation,
	string file,
	bool json = false
)

Parameters

keyInformation
Type: SKGLKeyInformation
The key infromation that should be saved into a file
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.
Remarks
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