TAR 추출

TAR files are most commonly used for bundling and compressing multiple files and directories into a single archive. However, extracting them could be troublesome at times, as they are used in conjunction with GZIP and BZIP2. However, with the versatility of IronZIP, we can simply call the IronTarArchive class to extract the contents of the TAR for the last layer and then further extract it in the second format, all within a single library.

TAR 아카이브 추출 중

우선, IronZip의 기능에 접근할 수 있도록 프로젝트에 IronZIP 네임스페이스를 포함시켜야 합니다. We can then use the IronTarArchive class to extract the contents of the TAR file with the method ExtractArchiveToDirectory.

이 함수는 TAR 파일의 내용을 지정된 디렉터리에 압축 해제하도록 설계되었습니다. 첫 번째 매개변수는 압축을 풀고자 하는 TAR 파일의 전체 경로여야 합니다. 두 번째 매개변수는 압축 해제된 파일이 저장될 대상 폴더를 지정합니다.

ZIP 파일을 생성, 읽기 및 압축 해제하는 방법을 알아보세요.

시작할 준비 되셨나요?
Nuget 다운로드 19,066 | 버전: 2026.3 방금 출시되었습니다
Still Scrolling Icon

아직도 스크롤하고 계신가요?

빠른 증거를 원하시나요? PM > Install-Package IronZip
샘플 실행 파일이 아카이브로 변환되는 것을 확인하세요.