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.