LicenseSetLicense Method (Stream)

Licenses the component.

Namespace:  Aspose.OCR
Assembly:  Aspose.OCR (in Aspose.OCR.dll) Version: 21.4.0
Syntax
public void SetLicense(
	Stream stream
)

Parameters

stream
Type: System.IOStream
A stream that contains the license.
Remarks

Use this method to load a license from a stream.

Examples
<ms>
            [C#]

            License license = new License();
            license.SetLicense(myStream);


            [Visual Basic]

            Dim license as License = new License
            license.SetLicense(myStream)
            </ms><java>
            License license = new License();
            license.setLicense(myStream);
            </java>
See Also