Differences
This shows you the differences between the selected revisions of the page.
| 2017-10-04 | 2017-10-04 | ||
| code wrapping for new design (martin) | code wrapping for new design C# (martin) | ||
| Line 112: | Line 112: | ||
| UserName = "user", | UserName = "user", | ||
| Password = "password", | Password = "password", | ||
| - | SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx", | + | SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx...", |
| }; | }; | ||
| Line 128: | Line 128: | ||
| // Collect file list | // Collect file list | ||
| List<string> files = | List<string> files = | ||
| - | session.EnumerateRemoteFiles(remotePath, "*.*", EnumerationOptions.AllDirectories) | + | session.EnumerateRemoteFiles( |
| + | ····························remotePath, "*.*", EnumerationOptions.AllDirectories) | ||
| .Select(fileInfo => fileInfo.FullName) | .Select(fileInfo => fileInfo.FullName) | ||
| .ToList(); | .ToList(); | ||