ConnectingEventArgs Class
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 8.0.9673)
Provides data for the Connecting event.
Syntax
public class ConnectingEventArgs : EventArgs
Inherited Members
Properties
| Name | Description |
|---|---|
| Accept | Gets or sets a value indicating whether to accept a new session. |
| ClientAddress | Gets the client's IP address. |
| ClientEndPoint | Gets the client-side endpoint of the client's connection. |
| Context | An optional custom object representing the session context. |
| CustomMessage | An optional custom message. Contains information about the rejection. For FTP, this may include welcome message to be displayed in case of acceptance. |
| Reason | An optional disconnect reason code. Can be specified in addition to CustomMessage. Only used for SSH. |
| ServerAddress | Gets the server-side IP address of the client's connection. |
| ServerEndPoint | Gets the server-side endpoint of the client's connection. |