SftpFile Name Property SSH .NET Client Library Documentation
For files, gets the name of the file. For directories, gets the name of the last directory in the hierarchy if a hierarchy exists. Otherwise, the Name property gets the name of the directory.

Namespace: Renci.SshNet.Sftp
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public string Name { get; private set; }
See Also