Sets the license key.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public static void SetLicenseKey(
	Stream stream
)
Visual Basic
Public Shared Sub SetLicenseKey ( _
	stream As Stream _
)
Visual C++
public:
static void SetLicenseKey(
	Stream^ stream
)

Parameters

stream
Type: System.IO..::..Stream
The stream containing a license.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionAn invalid license key is provided

See Also