The FileServer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FileServer |
Initializes a new instance of this object.
|
Methods
Name | Description | |
---|---|---|
Bind(FileServerProtocol) |
Binds the specified protocol to its default port on all network interfaces.
| |
Bind(ServerModule) |
Binds the specified module to its default port on all network interfaces.
(Inherited from Server.) | |
Bind(Int32, FileServerProtocol) |
Binds the specified protocol to the specified port on all network interfaces.
| |
Bind(IPEndPoint, FileServerProtocol) |
Binds the specified protocol to the specified endpoint.
| |
Bind(Int32, ServerModule) |
Binds the specified module to the specified port on all network interfaces.
(Inherited from Server.) | |
Bind(IPEndPoint, ServerModule) |
Binds the specified module to the specified endpoint.
(Inherited from Server.) | |
CreateModuleHost |
Creates SSH server module host.
| |
Dispose |
Disposes the server object, releasing all listeners and sessions.
(Inherited from Server.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Start |
Starts the server.
(Inherited from Server.) | |
Stop |
Stops the server.
(Inherited from Server.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
Unbind()()()() |
Unbinds all modules.
(Inherited from Server.) | |
Unbind(Int32) |
Unbinds all modules bound to the specified port.
(Inherited from Server.) | |
Unbind(IPAddress) |
Unbinds all modules bound to the specified address.
(Inherited from Server.) | |
Unbind(IPEndPoint) |
Unbinds all modules bound to the specified endpoint.
(Inherited from Server.) | |
Unbind(ServerModule) |
Unbinds the specified module from all endpoints.
(Inherited from Server.) |
Properties
Name | Description | |
---|---|---|
Bindings |
Gets a read-only collection of server bindings.
(Inherited from Server.) | |
IsRunning |
Gets a value indicating whether the server is currently running.
(Inherited from Server.) | |
Keys |
Gets a collection of server keys.
(Inherited from Server.) | |
LogWriter |
Gets or sets the log writer used by this object.
(Inherited from Server.) | |
Modules |
Gets an enumerator for currently bound modules.
(Inherited from Server.) | |
Sessions |
Gets an enumerator for currently active sessions.
(Inherited from Server.) | |
Settings |
Gets server settings.
| |
Users |
Gets a user collection that provide a simple default user database which is used when no custom authentication has been defined.
|
Events
Name | Description | |
---|---|---|
Authentication |
Occurs when client is being authenticated.
(Inherited from Server.) | |
Connecting |
Occurs when a client is connecting.
(Inherited from Server.) | |
Disconnected |
Occurs when a client has disconnected.
(Inherited from Server.) | |
ErrorOccurred |
Occurs when an error occurs while processing requests.
(Inherited from Server.) | |
FileDownloaded |
Occurs after a file (or a part of a file) has been downloaded.
| |
FileUploaded |
Occurs after a file (or a part of a file) has been uploaded.
| |
PathAccessAuthorization |
Occurs when path access authorization is required.
| |
PreAuthentication |
Occurs when client authentication is about to start.
(Inherited from Server.) | |
ShellCommand |
Occurs when a shell command is executed.
| |
TunnelRequested |
Occurs when a tunnel is requested.
|