All formats

TAR libraries for C#

Use System.Formats.Tar on .NET 7+ when you need .tar or .tar.gz. Use SharpCompress for .tar.xz / .tar.zst, for older .NET, or when the same code must open other archive formats.