Sets the license key.
Namespace: FirstFloor.DocumentsAssembly: 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
| Exception | Condition |
|---|---|
| System..::..ArgumentException | An invalid license key is provided |