Aspose.Note for .Net
LicenseSetLicense Method (Stream) |
Licenses the component.
Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.1
Syntaxpublic void SetLicense( Stream stream )
Public Sub SetLicense ( stream As Stream )
public: void SetLicense( Stream^ stream )
member SetLicense : stream : Stream -> unit
Parameters
- stream
- Type: System.IOStream
A stream that contains the license.
RemarksUse 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