[C#]
event TSBSSHPublicKeyReceiveEvent OnPubKeyReceive;
delegate void TSBSSHPublicKeyReceiveEvent(Object Sender, ref byte[] Buffer, int MaxSize, ref int Written);
[VB.NET]
Event OnPubKeyReceive As TSBSSHPublicKeyReceiveEvent
Delegate Sub TSBSSHPublicKeyReceiveEvent(ByVal Sender As Object, ByRef Buffer As Byte(), ByVal MaxSize As Integer, ByRef Written As Integer)