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