ZipPackage.IsZipFile replacement?

4 posts, 0 answers
  1. Korn1699
    Korn1699 avatar
    33 posts
    Member since:
    Apr 2007

    Posted 26 Feb 2015 Link to this post

    Since ZipPackage is now deprecated, is there a replacement to the IsZipFile method?  I haven't come across anything in the documentation yet...
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 03 Mar 2015 Link to this post

    Hello,

    You can use ZipArchive instead of ZipPackage. The ZIP archive is represented by ZipArchive class and it can be used in 3 modes (Read, Create and Update). For more information about them you can refer to the article below:
    http://www.telerik.com/help/aspnet-ajax/ziplibrary-getting-started.html

    Regards,
    Pavlina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Herve
    Herve avatar
    39 posts
    Member since:
    Jun 2008

    Posted 27 Mar 2015 Link to this post

    Hello,

    I receive an error with the Telerik.Web.Zip imports, was thinking to find the solution by following your link but this is the same withTelerik.Windows.Zip (doesn't contains any public member or cannot be found), any suggestion about it ?

    Thanks,

    Herve
  4. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 31 Mar 2015 Link to this post

    Hi,

    All you need to do in order to use ZipLibrary control is to put the new Telerik.Windows.Zip.dll assembly, located in the External Libraries installation folder, into the bin folder of you application:
    http://www.telerik.com/help/aspnet-ajax/introduction-included-assemblies.html

    You should also change the old Telerik.Web.Zip namespace to Telerik.Windows.Zip in the file where you use zip library classes.

    Regards,
    Pavlina
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top