WINZIP Encryption - detect encrypt type

I'm looking for a way to determine which encryption method was actually used.  As far as I can tell, WINZIP has 3 options.  The "2.0"  method, the AES 128 bit method and the AES 256 method.

A programmatic solution would be ideal, maybe something involving .NET, but I'de settle for any way of detecting it on a zip file that is already created.

The only indicator of encryption that I see is a asterisk next to the filename in the winzip dialog.  I just don't know how to determine which encryption method was used.

The reason I want to know is because I don't want anything to be encryped with the "2.0" method.

The first solution that came to mind was to use infozip to try and decrypt the file and if that worked, then I know that "2.0" was used because infozip doesn't support AES encryption, but that method isn't really a good sollution for me.
LVL 13
Jeff DarlingDeveloper AnalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeff DarlingDeveloper AnalystAuthor Commented:
I think I just found the answer, but I'll leave this question open to the experts for a while to see if they agree or have anything to add.

Most likely you'll have to dig deep into the WinZip header formats.

I personally haven't done this before (detecting the encryption type used). But this is where I would start, and I believe is the correct direction (although extremely tedious).

The WiKi

Hope that helps
- Kelvin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I found this quite useful in explaining the encryption process and some of the header content.
>> I think I just found the answer, but I'll leave this question open to the experts for a while to see if they >> agree or have anything to add.

Yep. Agreed : )
Jeff DarlingDeveloper AnalystAuthor Commented:
thanks for the response.  
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.