Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7036721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:27:28+00:00 2026-05-28T01:27:28+00:00

I am using 7zip (command line) to look at zip/rar/7z files. I essentially check

  • 0

I am using 7zip (command line) to look at zip/rar/7z files. I essentially check how many files and what extension it has. Than… i got to password protected files. When the entire file is password protected (so you can not look at the filenames or anything within) i know. However if i can see the file i can NOT tell if they are password protected. I zipped two files one with the other without a password. 7z l filename.zip shows the files in both zip the same

How do i detect if a file is password protected in an archive using 7zip?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:27:29+00:00Added an answer on May 28, 2026 at 1:27 am

    Use sevenzipsharp. Its not really documented but its not hard to figure out.

    SevenZipExtractor.SetLibraryPath(@"path\7-Zip\7z.dll");
    using (var extractor = new SevenZipExtractor(fn1))
    {
            if(extractor.Check()) { //is not password protected
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using 7zip http://www.7-zip.org/download.html in a C# program to unzip files using the
I am currently using subprocess to unpack a selection or zip files using 7zip.
I'm trying to create zip files on the fly in C++, I'm using 7-zip
I originally was using WinZip15 to create .ZIP files with AES256 which we later
I have previously been using Chilkat Zip .Net to generate backup files from my
I downloaded play-2.0.zip from the website. When I try to unzip it (using 7-zip),
Using C#, I need a class called User that has a username, password, active
I need to store abitrary binary data (essentially files of various common formats, JPEG,
I'm trying to run a Powershell command to call 7-Zip to zip up a
(Using XAMPP 1.7.7 with PHP 5.3.8) I know how to extract *.7z files with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.