LicenseSetLicense Method (Stream) |
Licenses the component.
Namespace:
Aspose.Email
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
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