Skip to content

Connect() method is not present on the interface Renci.SshNet.ISftpClient #1103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SwissMaWi opened this issue Mar 27, 2023 · 2 comments
Closed

Comments

@SwissMaWi
Copy link

Connect() method is not present on the interface Renci.SshNet.ISftpClient
For some miraculous reason the Connect method is not on the interface.
Is there a reason for this?
Without this method I am forced to use in my code the class, instead of the interface, which creates all kinds of DI and testing concerns.
Or am I not getting something?
Thanks for enlightening me.

@gregor-tusar-sowa
Copy link

This issue was fixed but it is not yet released.

@SwissMaWi
Copy link
Author

That is great news. I managed to work around it by means of an extension method for the time being. Looking forward to the release. Many thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants