????????????
??????? Aspose.ZIP
?? ?????? ??????????? ??????????? Aspose.ZIP ??? .NET ??? ????????????. ??????????????? ?????? ????? ????? ??? ???????????????? ???????? ? ??????? ???????????. ?? ???? ?????? ?????? ???? ????????????, ???? ?? ??????? ???????? ?? ??????? ?????? ?????? ???? ??� ??????????? ????????.
???? ?? ?????? ???????????? Aspose.ZIP ??? ???????? ????????? ??????, ?? ????? ?????? ?????? ????? ?? 30-????? ????????? ????????. ???????????� ?? ???????? ????????? ?????????
????????? ????????? ??????
???????? ?????? Aspose.ZIP (??? ?????????? ????????) ?????????? ????? ???????????????? ????????, ?? ???????? ?????? ???????? ???? ??????.
| Usage context | Restrictions |
|---|---|
| Size of data to compress | No more than 532,768 bytes of each entry to be compressed |
| Size of data to decompress | No more than 500,000 bytes of each entry to be decompressed |
| CRC verification on decompression | Not performed |
| MAC verification on decompression in an encrypted file | Not performed |
| Number of entries compressed | No more than 10 |
| Extraction by running self-extracted archive | No more then 10 files no more than 500,000 bytes each |
???????????? ????????
?? ?????? ????? ??????????? ?????? ?????? Aspose.ZIP ?? ???????? ????????????. ??????????? ?????? ????? ????????? ?? ? ??????????, ?? ? ?????????? ?????? Aspose.ZIP. ???? ????, ?????? ?????? ?????? ???? ????????????, ???? ?? ??????? ???????? ?? ??????? ???? ?????? ????, ??? ??????????? ????????.
??? ????????
???????? � ?? ????????? ????????? XML-????, ???? ??????? ???? ??????, ?? ????? ????????, ????????? ???????????, ???? ????????? ????????, ???? ?????????? ???????? ????. ???? ??? ???????? ??????, ???? ?? ???????? ????. ?????? ?????????? ????????? ??????????? ??????? ????? ? ???? ??????? ???? ?????????.
??? ???????? ?????????? ???????? ????? ????????????? Aspose.ZIP, ???? ?? ?????? ???????? ???? ???????? ??????. ???????? ???????? ?????????? ???? ???? ??? ??? ?????? ???????? (??? ???????).
??????????? ???????? ?? ????????? ????? ??? ?????????? ??�????
???????????? ???????? ? Aspose.ZIP ??? .NET
? Aspose.Zip ???????? ????? ??????????? ? ?????, ?????? ??? ??????????? ???????. Aspose.ZIP ??????????? ?????? ???????? ? ????? ??????:
- ????? ????
- ?????, ??? ??????? DLL ?????????? (??????? ?? Aspose.ZIP)
- ?????, ??? ??????? ??????, ??? ????????? DLL ?????????? (??????? ?? Aspose.ZIP)
- ?????, ??? ??????? ?????? ????? (??? .exe)
- ?????????? ?????? ? ??????, ???? ???????? DLL ?????????? (??????? ?? Aspose.ZIP). ????? ??? ???????? ?????? ???????????? ????????, ??? ????????????? ?????:
??????????? ???????? ?? ????????? ????? ??? ?????????? ??�????
???????????? ?????? ?????????? ???????? � ????????? ???? ???????? ? ?? ???? ?????, ?? ? DLL ?????????? (??????? ?? ?????? Aspose.ZIP), ? ??????? ???? ??�? ????? ??? ????? ?? ?????.
1// ????????? ?????????? ???????? ?? ???????????? ????? ?? ????? ????????
2
3???????? Aspose.ZIP.License = ???? Aspose.ZIP.License();
4
5license.SetLicense("Aspose.ZIP.lic");1// ????????? ?????????? ???????? ?? ???????????? ???????? ????? ?????
2
3???????? Aspose.ZIP.License = ???? Aspose.ZIP.License();
4
5license.SetLicense(myStream);???? ?? ?????????? ????? SetLicense, ????? ???????? ??? ????????? ? ?????? ????? ????????. ?????????, ?? ?????? ??????? ????? ????? ???????? ?? “Aspose.ZIP.lic.xml”. ????? ? ?????? ???? ?? ??????? ??????????????? ??????? ????? ???????? (????? Aspose.ZIP.lic.xml) ??? ?????? SetLicense.
??????? ? ?????? ???????? ?? ?????????? ????????
????? ?????? ?????? ????????? ???????? ????? ?? ????????? ?? ????????????, ?? ???? ?? ???? ????????, ??????? ? ????, ??? ???????? ?? ?? ?????????? ?????? ?? ?????? ?? ??????, ??? ?????????? DLL ?????????? (??????? ?? Aspose.ZIP). ??? ???????? ???? ???????? ?? ?????????? ??????, ????????? ???? ???:
- ? Visual Studio .NET, ????????? ???? ???????? (.lic) ? ?????? ?? ????????? File | ?????? ???????? ???????… ????
- ???????? ???? ? Solution Explorer ? ?????????? Build Action ?? Embedded Resource ? ????? Properties
- ??? ???????? ?????? ?? ????????, ?????????? ? ?????? (?? ?????????? ??????), ?? ???????? ????????? ?????? GetExecutingAssembly ? GetManifestResourceStream ????? System.Reflection.Assembly Microsoft .NET Framework. ???, ?? ???????? ???????, ?? ?????? ?????? ???? ???????? ?? ?????????? ?????? ?? ?????? ??????? ?? ???????? ????? ????? ???????? ? ????? SetLicense License. Licenseclass ??????????? ?????? ???? ???????? ? ?????????? ????????.
??????????? ????????? ????? ???????, ??? ????????? ??? ????? ???????????? ???????? (??????????) ? ????? ?????????.
1// ????????? ?????????? ????? License
2
3???????? Aspose.ZIP.License = ???? Aspose.ZIP.License();
4
5// ????????? ???? ????? ????? ????????, ??????????? ? ??????
6
7license.SetLicense("Aspose.ZIP.lic");???????????? ???????? Metered (?????? ?? ????????????)
???????? Metered � ?? ???????? ????????????, ???? ???????? ???????? ?????????? ??????? ?? ?????? ???????????? ??????? API. ??? ???????? ?????????? ??????????, ?????????? ?? ??????? ????????? ???????? ???? ?????????? ????????????. ??? ????????? ???????? Metered ??? ???????? ????????? ? ???????? ?????.
??????????? ???????? Metered ??? ???? ??????, ?? ?? ??? ????? ????:
1var metered = new MeteredLicense();
2metered.SetMeteredKey("<public key>", "<private key>");