IP*Works! SSH V9 - Online Help
IP*Works! SSH V9
Questions / Feedback?

ConnectionRequest Event

Fired when a request for connection comes from a remote host.

Syntax

[VB.NET]
Public Event OnConnectionRequest As OnConnectionRequestHandler
[C#]
public event OnConnectionRequestHandler OnConnectionRequest;

public delegate void OnConnectionRequestHandler(object sender, SshdaemonConnectionRequestEventArgs e);

class SshdaemonConnectionRequestEventArgs : EventArgs {
  string Address {get;}
  int Port {get;}
  bool Accept {get; set;}
}

Remarks

This event indicates an incoming connection. The connection is accepted by default. Address and Port will contain information about remote host requesting the inbound connection. If you want to refuse it, you can set the Accept parameter to False.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0