After the appropriate assemblies have been added as references to a project, the namespaces where the component's classes reside should be specified in the code where they will be used. This enables the use of the classes defined in the components without having to specify the fully qualified name of those types.
In C#, this is accomplished with the using directive. In Visual Basic .NET, the Imports directive is used.
Here are the directives to use for the different components.
| Xceed Zip for .NET (C#) |
Copy Code |
|---|---|
using Xceed.Compression; using Xceed.FileSystem; //using Xceed.FileSystem.Windows; // Optional secondary APIs using Xceed.Zip; namespace MyApplication { /* TODO: Your code here */ } | |
| Xceed Zip for .NET (VB.NET) |
Copy Code |
|---|---|
Imports Xceed.Compression Imports Xceed.FileSystem ' Imports Xceed.FileSystem.Windows ' Optional secondary APIs Imports Xceed.Zip Namespace MyApplication ' TODO: Your code here End Namespace | |
Streaming Compression for .NET
| Streaming Compression for .NET (C#) |
Copy Code |
|---|---|
using Xceed.Compression; using Xceed.Compression.Formats; namespace MyApplication { /* TODO: Your code here */ } | |
| Streaming Compression for .NET (VB.NET) |
Copy Code |
|---|---|
Imports Xceed.Compression Imports Xceed.Compression.Formats Namespace MyApplication ' TODO: Your code here End Namespace | |
Xceed SSH/SFtp for .NET
| Xceed SSH/SFtp for .NET (C#) |
Copy Code |
|---|---|
using Xceed.FileSystem; using Xceed.SSH.Client; using Xceed.SSH.Protocols; using Xceed.SSH.Core; namespace MyApplication { /* TODO: Your code here */ } | |
| Xceed SSH/SFtp for .NET (VB.NET) |
Copy Code |
|---|---|
Imports Xceed.FileSystem Imports Xceed.SSH.Client Imports Xceed.SSH.Protocols Imports Xceed.SSH.Core Namespace MyApplication ' TODO: Your code here End Namespace | |
Xceed Ftp for .NET
| Xceed Ftp for .NET (C#) |
Copy Code |
|---|---|
using Xceed.FileSystem; using Xceed.Ftp; namespace MyApplication { /* TODO: Your code here */ } | |
| Xceed Ftp for .NET (VB.NET) |
Copy Code |
|---|---|
Imports Xceed.FileSystem Imports Xceed.Ftp Namespace MyApplication ' TODO: Your code here End Namespace | |
Xceed Tar/GZip for .NET
| Xceed Tar/GZip for .NET (C#) |
Copy Code |
|---|---|
using Xceed.FileSystem; using Xceed.Tar; //using Xceed.Tar.Streaming; // Optional secondary APIs using Xceed.GZip; namespace MyApplication { /* TODO: Your code here */ } | |
| Xceed Tar/GZip for .NET (VB.NET) |
Copy Code |
|---|---|
Imports Xceed.FileSystem Imports Xceed.Tar ' Imports Xceed.Tar.Streaming ' Optional secondary APIs Imports Xceed.GZip Namespace MyApplication ' TODO: Your code here End Namespace | |