I am using Renci.SshNet library to get a list of files and directories recursively by using SFTP. I can able to connect SFTP site but I am not sure how to get a list of director
Try this:
var filePaths = client.ListDirectory(client.WorkingDirectory);