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

ShellCommandEventArgs Class

Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9147)

Provides data for the ShellCommand event.

Syntax
public class ShellCommandEventArgs : EventArgs
Inheritance
Object
EventArgs
ShellCommandEventArgs
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
Action

Gets or sets a delegate to run the specified command.

Arguments

Gets the arguments of the command to be executed.

Command

Gets the name of the command to be executed.

ExitCode

Gets or sets the exit code. Only used for commands processed inside the event handler.

RawArguments

Gets the arguments of the command in raw unparsed format.

Session

Gets server session.

SubsystemName

Returns subsystem name (or null if using the default shell subsystem).

User

User on behalf of whom the command is being executed.

Methods

Name Description
Write(Object)

Writes the text representation of the specified object to the console.

Write(String, Object[])

Writes the text representation of the specified array of objects to the remote console using the specified format information.

WriteLine()

Writes an end-of-line sequence to the remote console.

WriteLine(Object)

Writes the text representation of the specified object to the console, followed by an end-of-line sequence.

WriteLine(String, Object[])

Writes the text representation of the specified array of objects to the remote console using the specified format information, followed by an end-of-line sequence.

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