The Scp type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkScp
Initializes a new instance of the Scp class.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the SCP host.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the SCP host.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, SshParameters, AsyncCallback, Object) Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginCreateDirectory
Begins asynchronous CreateDirectory operation. Creates a directory on the server.
Public methodSupported by the .NET Compact FrameworkBeginDisconnect
Begins asynchronous Disconnect operation. Informs the server that the connection is about to close and terminates the connection.
Public methodSupported by the .NET Compact FrameworkBeginDownload
Begins asynchronous Download operation. Downloads the content of the remote directory (files and all subfolders) to the specified local directory.
Public methodSupported by the .NET Compact FrameworkBeginGetFile(String, Stream, AsyncCallback, Object)
Begins asynchronous GetFile operation. Downloads the remote file to the data stream.
Public methodSupported by the .NET Compact FrameworkBeginGetFile(String, String, AsyncCallback, Object)
Begins asynchronous GetFile operation. Downloads the remote file to the local file, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkBeginGetFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginLogin(AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the server interactively and initializes the SCP session. Uses AuthenticationRequest event to request credentials.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the server interactively and initializes the SCP session. Uses AuthenticationRequest event to request credentials.
Public methodSupported by the .NET Compact FrameworkBeginLogin(SshGssApiCredentials, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates to the server using GSSAPI. Kerberos is only supported on Mono. NTLM is supported on Windows and partially on Mono.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, SshPrivateKey, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the server using his private key and initializes the SCP session.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, String, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the server and initializes the SCP session.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, String, SshPrivateKey, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the server using a combination of password and public key and initializes the SCP session.
Public methodSupported by the .NET Compact FrameworkBeginPutFile(Stream, String, AsyncCallback, Object)
Begins asynchronous PutFile operation. Uploads the content of the data stream to the file on the server, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkBeginPutFile(String, String, AsyncCallback, Object)
Begins asynchronous PutFile operation. Uploads the content of the local file to the file on the server, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkBeginPutFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginUpload
Begins asynchronous Upload operation. Uploads the content of the local directory (files and all subfolders) to the specified remote directory.
Public methodSupported by the .NET Compact FrameworkBind
Binds the Scp object to an underlying SSH session. This can be used instead of Connect(String)/Login(String, String) methods.
Public methodSupported by the .NET Compact FrameworkConnect(String)
Connects to the SCP host.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32)
Connects to the SCP host.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32, SshParameters) Obsolete.
Public methodSupported by the .NET Compact FrameworkCreateDirectory
Creates a directory on the server.
Public methodSupported by the .NET Compact FrameworkDisconnect
Informs the server that the connection is about to close and terminates the connection.
Public methodSupported by the .NET Compact FrameworkDispose()()()()
Disposes the Scp object and all the socket objects.
Protected methodSupported by the .NET Compact FrameworkDispose(Boolean)
Releases the unmanaged resources used by the Scp and optionally releases the managed resources.
Public methodSupported by the .NET Compact FrameworkDownload
Downloads the content of the remote directory (files and all subfolders) to the specified local directory.
Public methodSupported by the .NET Compact FrameworkEndConnect
Ends an asynchronous BeginConnect operation.
Public methodSupported by the .NET Compact FrameworkEndCreateDirectory
Ends an asynchronous BeginCreateDirectory operation.
Public methodSupported by the .NET Compact FrameworkEndDisconnect
Ends an asynchronous BeginDisconnect operation.
Public methodSupported by the .NET Compact FrameworkEndDownload
Ends an asynchronous BeginDownload operation.
Public methodSupported by the .NET Compact FrameworkEndGetFile
Ends an asynchronous BeginGetFile operation.
Public methodSupported by the .NET Compact FrameworkEndGetFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkEndLogin
Ends an asynchronous BeginLogin operation.
Public methodSupported by the .NET Compact FrameworkEndPutFile
Ends an asynchronous BeginPutFile operation.
Public methodSupported by the .NET Compact FrameworkEndPutFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkEndUpload
Ends an asynchronous BeginUpload operation.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Finalizer. Called by garbage collector during object destruction.
(Overrides Object..::..Finalize()()()().)
Public methodSupported by the .NET Compact FrameworkGetFile(String, Stream)
Downloads the remote file to the data stream.
Public methodSupported by the .NET Compact FrameworkGetFile(String, String)
Downloads the remote file to the local file, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkGetFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkGetHashCode
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.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkLogin()()()()
Authenticates the user to the server interactively and initializes the SCP session. Uses AuthenticationRequest event to request credentials.
Public methodSupported by the .NET Compact FrameworkLogin(String)
Authenticates the user to the server interactively and initializes the SCP session. Uses AuthenticationRequest event to request credentials.
Public methodSupported by the .NET Compact FrameworkLogin(SshGssApiCredentials)
Authenticates to the server using GSSAPI. Kerberos is only supported on Mono. NTLM is supported on Windows and partially on Mono.
Public methodSupported by the .NET Compact FrameworkLogin(String, SshPrivateKey)
Authenticates the user to the server using his private key and initializes the SCP session.
Public methodSupported by the .NET Compact FrameworkLogin(String, String)
Authenticates the user to the server and initializes the SCP session.
Public methodSupported by the .NET Compact FrameworkLogin(String, String, SshPrivateKey)
Authenticates the user to the server using a combination of password and public key and initializes the SCP session.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkOnBatchTransferProgress
Raises the BatchTransferProgress event.
Protected methodSupported by the .NET Compact FrameworkOnTransferProgress
Raises the TransferProgress event.
Public methodSupported by the .NET Compact FrameworkPutFile(Stream, String)
Uploads the content of the data stream to the file on the server, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkPutFile(String, String)
Uploads the content of the local file to the file on the server, overriding it if it already exists.
Public methodSupported by the .NET Compact FrameworkPutFiles Obsolete.
Public methodSupported by the .NET Compact FrameworkSetSocketFactory
Sets the socket factory to be used to create communication sockets.
Public methodSupported by the .NET Compact FrameworkToString
Returns a string representation of this object.
(Overrides Object..::..ToString()()()().)
Public methodSupported by the .NET Compact FrameworkUpload
Uploads the content of the local directory (files and all subfolders) to the specified remote directory.

Fields

  NameDescription
Public fieldStatic memberSupported by the .NET Compact FrameworkDefaultPort
Default SCP port (22).

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkEncoding
Gets or sets the Encoding to use to encode and decode command parameters and server responses.
Public propertySupported by the .NET Compact FrameworkFingerprint
Gets the server public key fingerprint (a SHA-256 hash of the server public key).
Protected propertySupported by the .NET Compact FrameworkInstanceId
Gets instance ID (intended for logging purposes).
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkIsAuthenticated
Gets a value indicating whether the session is authenticated.
(Overrides NetworkSession..::..IsAuthenticated.)
Public propertySupported by the .NET Compact FrameworkIsConnected
Gets a value indicating whether the session is connected.
(Overrides NetworkSession..::..IsConnected.)
Public propertySupported by the .NET Compact FrameworkLocalEndPoint
Gets the local client EndPoint.
Public propertySupported by the .NET Compact FrameworkLogWriter
Gets or sets the LogWriter used by this object.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkProxy
Gets or sets the network proxy to use to access a remote server.
Public propertySupported by the .NET Compact FrameworkRemoteEndPoint
Gets the remote server EndPoint.
Public propertySupported by the .NET Compact FrameworkServerKey
Gets the server public key.
Public propertySupported by the .NET Compact FrameworkServerName
Gets the server name, if available.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkServerPort
Gets the server port, if available.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkSession
Gets the SSH session used by this SCP session.
Public propertySupported by the .NET Compact FrameworkSettings
Gets or sets SCP object settings.
Public propertySupported by the .NET Compact FrameworkState
Public propertySupported by the .NET Compact FrameworkTimeout
Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out).
Public propertySupported by the .NET Compact FrameworkUserName
Gets the authenticated user name, if available.
(Inherited from NetworkSession.)
Public propertyStatic memberSupported by the .NET Compact FrameworkVersion
Gets the version of the SCP component.

Events

  NameDescription
Public eventSupported by the .NET Compact FrameworkAuthenticationRequest
Occurs when an authentication request is received from the server that cannot be answered programmatically.
Public eventSupported by the .NET Compact FrameworkBannerReceived
Occurs when a banner message is received from the server.
Public eventSupported by the .NET Compact FrameworkBatchTransferProgress
Occurs when a significant action occurs in Download(String, String) or Upload(String, String) methods.
Public eventSupported by the .NET Compact FrameworkFingerprintCheck
Occurs when a fingerprint is received from the server and needs to be validated.
Public eventSupported by the .NET Compact FrameworkTransferProgress
Occurs when data is send or received.

See Also