TarEntry.CreateEntryFromFile Method

SharpZip Compression Library

SharpZip Compression Library

TarEntry.CreateEntryFromFile Method 

Construct an entry for a file. File is set to file, and the header is constructed from information from the file.

public static TarEntry CreateEntryFromFile(
   string fileName
);

Parameters

fileName
The file that the entry represents.

See Also

TarEntry Class | ICSharpCode.SharpZipLib.Tar Namespace