Aspose::Page::License::SetLicense‑metod
Innehåll
[
Dölj
]License::SetLicense(System::SharedPtr<System::IO::Stream>) method
Licensierar komponenten.
void Aspose::Page::License::SetLicense(System::SharedPtr<System::IO::Stream> stream)
| Parameter | Type | Beskrivning |
|---|---|---|
| ström | System::SharedPtr<System::IO::Stream> | En ström som innehåller licensen. |
Anmärkningar
Använd den här metoden för att läsa in en licens från en ström.
Se även
- Typedef SharedPtr
- Class Stream
- Class License
- Namespace Aspose::Page
- Library Aspose.Page for C++
License::SetLicense(System::String) method
Licensierar komponenten.
void Aspose::Page::License::SetLicense(System::String licenseName)
Anmärkningar
Försöker hitta licensen på följande platser:
- Explicit sökväg.
Mappen för komponentens assembly.
Mappen för klientens anropande assembly.
Mappen för startassemblyn.
En inbäddad resurs i klientens anropande assembly.
**Note:**On the .NET Compact Framework, tries to find the license only in these locations:
Explicit sökväg.
En inbäddad resurs i klientens anropande assembly.
- Mappen för komponentens jar‑fil.
- Class String
- Class License
- Namespace Aspose::Page
- Library Aspose.Page for C++