Welcome to the Xceed Community | Help
Community Search  
More Search Options

test if zip file is password protected

Sort Posts: Previous Next
  •  02-23-2010, 1:58 PM Post no. 25896

    test if zip file is password protected

    I need to check if a zip file is password protected before attempting to reveal the contents.    Is there a function that allows me to do that?

    Dan Desjardins
    Product Manager
    Weather Central, LLC
    Madison, WI
  •  02-23-2010, 3:15 PM Post no. 25901 in reply to 25896

    Re: test if zip file is password protected

    Hi Dan,

     

    You could verify that the ZippedFile was password protected by checking the value of the ZippedFile’s Encrypted property. The documentation on this property is available at: http://doc.xceedsoft.com/products/xceedfilesystem/Xceed.Zip~Xceed.Zip.ZippedFile~Encrypted.html.

    Xceed - Software Developer and Technical Support
  •  02-23-2010, 5:27 PM Post no. 25904 in reply to 25901

    Re: test if zip file is password protected

    That works!   Thanks.

    As a future enhancement it would be nice to be able to do a password test.


    Dan Desjardins
    Product Manager
    Weather Central, LLC
    Madison, WI
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.