?????
Aspose.ZIP ??????
Aspose.ZIP for .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 ??????????????????????????????????????????????????? (???????) ??? 1 ??????
???????????? ???????????????????
Aspose.ZIP for .NET ??????????
Aspose.Zip ????????????????????????????????????????? Aspose.ZIP ???????????????????????
- ??????
- ???????? DLL ?????????? (Aspose.ZIP ??????)
- ???????? DLL ??????????????????? (Aspose.ZIP ????????)
- ???? ????? (.exe) ??????????
- ???????? DLL ???????????????????? (Aspose.ZIP ?????) ???????????? 2 ?????????????????????
???????????? ??????????????????????
??????????????????????????? DLL ???????? (Aspose.ZIP ?????) ?????? ????????????????????????????????
1// ??????????????????????????????????? ??????????
2
3Aspose.ZIP.License ????? = ??? Aspose.ZIP.License();
4
5?????.SetLicense("Aspose.ZIP.lic");1// ??????????????????????????????????????????
2
3Aspose.ZIP.License ????? = ??? Aspose.ZIP.License();
4
5?????.SetLicense(myStream);SetLicense ????????????????????????? ????????????????????????????? ???????Aspose.ZIP.lic.xml????????????????? SetLicense ??????????????? (Aspose.ZIP.lic.xml) ?????????????
????? ???????????????????
????????????????????????????????????????? 1 ????????????????? DLL (Aspose.ZIP ?????) ??????????? 1 ???????????????????????????????? ?????????????????????????????????
- Visual Studio .NET ???[????] | [????] ?????????? (.lic) ?????????????????????????… ????
- ??????? ??????????????????????? ????????? ?????????????????????
- ????????????????? (???????????) ??????????Microsoft .NET Framework ? System.Reflection.Assembly ???? GetExecutingAssembly ????? GetManifestResourceStream ????????????????????????????? ???????????????????????????????? ???????? SetLicense License ?????????????? Licenseclass ????????????????? ???????????????
?????????????? (????) ???????????????????????????????
1// License ???????????????
2
3Aspose.ZIP.License ????? = ??? Aspose.ZIP.License();
4
5// ????????????????? ??????????????
6
7?????.SetLicense("Aspose.ZIP.lic");????? (???) ????????
??????????API ???????????????????????? ???????????????? ???????? FAQ ????? ?????????? ???????????????????????????????????
????????????????? 2 ????????????????
1var metered = new MeteredLicense();
2metered.SetMeteredKey("<public key>", "<private key>");