Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Pageant integration?

$
0
0
Is there a way to use the PageantProtocol / AgentAuthenticationMethod without recompiling SshNet? I'd like to use the version from NuGet to keep my application modular but it seems that some required events and methods are marked "internal". Is there a workaround for this? Or could you fix it by making the following members "Public"?
Session.UserAuthenticationSuccessReceived
Session.UserAuthenticationFailureReceived
Session.MessageReceived
Session.SendMessage
Session.WaitOnHandle
On the other hand, why is it a problem to include the AgentAuthenticationMethod class directly within SshNet? I understand you don't want any P/Invoke calls in the library, but AgentAuthenticationMethod doesn't require any of those. I think this would be an alternative to making the Session events and methods public.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>