TarEntry.CreateEntryFromFile Method

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

[Visual Basic]
Public Shared Function CreateEntryFromFile( _
   ByVal fileName As String _
) As ICSharpCode.SharpZipLib.Tar.TarEntry
[C#]
public static TarEntry CreateEntryFromFile(
   string fileName
);

Parameters

fileName

The file that the entry represents.

See Also

TarEntry Class | TarEntry Members | ICSharpCode.SharpZipLib.Tar Namespace