提取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. Extracting TAR File with C# using IronZip; IronTarArchive.ExtractArchiveToDirectory("output.tar", "extracted"); Extracting TAR Archive To begin with, we need to include the IronZip namespace in our project, which provides access to its functionalities. We can then use the IronTarArchive class to extract the contents of the TAR file with the method ExtractArchiveToDirectory. This function is designed to unpack the contents of a TAR file into a specified directory. The initial parameter should be the full path to the TAR file that you wish to extract. The second parameter indicates the destination folder where the unpacked files will be stored. Learn to Create, Read, and Extract ZIP Files 相关文档链接 在Github上查看 相关教程 相关操作指南 类文档 下载IronZIP DLL 报告此页面的问题 准备开始了吗? Nuget 下载 16,000 | 版本: 2025.11 刚刚发布 免费 NuGet 下载 总下载量:16,000 查看许可证