[C#]
event TSSHBeforeOpenClientForwardingEvent OnBeforeOpenClientForwarding;
delegate void TSSHBeforeOpenClientForwardingEvent(Object Sender, string DestHost, int DestPort, string SrcHost, int SrcPort, ref bool Accept);
[VB.NET]
Event OnBeforeOpenClientForwarding As TSSHBeforeOpenClientForwardingEvent
Delegate Sub TSSHBeforeOpenClientForwardingEvent(ByVal Sender As Object, ByVal DestHost As String, ByVal DestPort As Integer, ByVal SrcHost As String, ByVal SrcPort As Integer, ByRef Accept As Boolean)