The Xceed Component Installer will copy all the necessary files into the product's installation folder (usually in \Program Files\Xceed Components\Bin\.NET) as well as place a copy of the Xceed.Ftp.DLL and Xceed.FileSystem.DLL assemblies in the global assembly cache. The only thing left to do in order to begin using Xceed FTP for .NET is to add the assemblies the your project and license Xceed FTP for .NET for runtime use. To do this, perform the following steps:
-
Start Microsoft Visual Studio .NET.
-
On the Start Page click on the "New Project" button. This can also be done by selecting the "File\New\Project" menu.
-
In the "Project Types" menu select "Visual C# Projects".
-
In the "Templates" section select the type of application you want to create.
-
Enter the name of the project you want to create and the location where it will be created.
-
Click on the "OK" button.
You are now ready to add the necessary assemblies to your project.
-
To add the a reference to the Xceed.Ftp.DLL and Xceed.FileSystem.DLL assemblies, select the "Add Reference" option from your "Project" menu. This can also be done by right-clicking on the "References" menu in the "Solution Explorer" and selecting the "Add Reference" option.
-
In the "Add Reference" dialog, select the ".NET" tab
-
Select the assemblies from the list of available components and click on the "Select" button. If the assemblies are not in the list of available components, you can browse for it using the "Browse" button.
-
Click on the "OK" button.
Finally you need to license Xceed FTP for .NET for runtime use.
-
Jump to the Licensing topic for detailed instructions.
You can then use the using directive to create aliases for existing namespaces, and avoid having to type the fully qualified type names.
C# | Copy Code |
---|---|
using Xceed.Ftp; |