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

Scp.Connect Method

Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)

Connect(String)

Connects to the SCP host.

Declaration
public void Connect(string serverName)
Parameters
Type Name Description
String serverName

The host address - either a hostname or a dotted string address.

Connect(String, Int32)

Connects to the SCP host.

Declaration
public void Connect(string serverName, int serverPort)
Parameters
Type Name Description
String serverName

The host address - either a hostname or a dotted string address.

Int32 serverPort

The host port (e.g. 22).

In This Article
  • Connect(String)
  • Connect(String, Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies