Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

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
Inheritance
Object
EventArgs
ConnectingEventArgs
Inherited Members
EventArgs.Empty
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies