sales.europe@xceed.com
support.europe@xceed.com
USD
EUR
Xceed Home
>
Community
Welcome to the Xceed Community |
Help
Community Search
More Search Options
Xceed Community
»
.NET and ASP.NET class librari...
»
Xceed Zip for .NET
»
Re: test if zip file is password protected
test if zip file is password protected
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
02-23-2010, 1:58 PM
Post no.
25896
Dan
Joined on 12-19-2006
Madison, Wisconsin
Posts 8
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
Report abuse
02-23-2010, 3:15 PM
Post no.
25901
in reply to
25896
Mohamed [Xceed]
Joined on 06-25-2008
Posts 488
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
Report abuse
02-23-2010, 5:27 PM
Post no.
25904
in reply to
25901
Dan
Joined on 12-19-2006
Madison, Wisconsin
Posts 8
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
Report abuse
Contact
|
Site Map
|
Reviews
|
Legal
Terms of Use
|
Trademarks
|
Privacy Statement
Copyright 2011 Xceed Software Inc.