CAS.Lib.CodeProtect Namespace
CAS.Lib.CodeProtect.LicenseDsc Namespace
CAS.Lib.CodeProtect.LicenseDsc.Constraints Namespace
CAS.Lib.CodeProtect.Properties Namespace
OOI CodeProtect

LicenseFile..::..SaveFile Method (Stream, RSA)

Saves the license to the specified path using the provided Stream by the stream parameter.

Namespace:  CAS.Lib.CodeProtect.LicenseDsc
Assembly:  CAS.CodeProtect (in CAS.CodeProtect.dll)

Syntax


public void SaveFile(
	Stream stream,
	RSA key
)
Public Sub SaveFile ( _
	stream As Stream, _
	key As RSA _
)
public:
void SaveFile(
	Stream^ stream, 
	RSA^ key
)

Parameters

stream
Type: Stream
The stream to write the file to.
key
Type: RSA
The key to be used to signe the license file.