Extraire 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 Liens de documentation associés Voir sur Github Tutoriel connexe Guide pratique connexe Documentation de classe Télécharger IronZIP DLL Signaler un problème sur cette page Prêt à commencer? Nuget Téléchargements 16,000 | Version : 2025.11 vient de sortir Téléchargement gratuit NuGet Total des téléchargements :16,000 Voir Licences
Testez dans un environnement en direct Testez en production sans filigranes.Fonctionne où que vous en ayez besoin.
Produit entièrement fonctionnel Profitez de 30 jours de produit entièrement fonctionnel.Configurez-le et faites-le fonctionner en quelques minutes.
Testez dans un environnement en direct Testez en production sans filigranes.Fonctionne où que vous en ayez besoin.
Produit entièrement fonctionnel Profitez de 30 jours de produit entièrement fonctionnel.Configurez-le et faites-le fonctionner en quelques minutes.