You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,7 +25,7 @@ For more information, please visit the [official product page](https://xceed.com
25
25
- Supports the latest zip file format standards
26
26
- Used and trusted by Microsoft in their server products
27
27
- Supports .NET 4.5, 5, 6 and 7 (including .NET core and .NET Standard)
28
-
-
28
+
29
29
## Getting Started with the Xceed Zip for .NET
30
30
31
31
To get started, clone this repository and explore the various sample projects provided. Each sample demonstrates different features and capabilities of Xceed Zip for .NET.
@@ -35,7 +35,7 @@ To get started, clone this repository and explore the various sample projects pr
35
35
- .NET Framework 4.0 or later
36
36
- .NET 5.0 or later
37
37
38
-
### 1. Installing the DataGrid from nuget
38
+
### 1. Installing the Zip for .NET from nuget
39
39
To install the Xceed Zip for .NET from NuGet, follow these steps:
40
40
41
41
1.**Open your project in Visual Studio.**
@@ -53,28 +53,100 @@ To install the Xceed Zip for .NET from NuGet, follow these steps:
53
53
54
54

55
55
56
-
### 2. Adding a DataGrid to the XAML
56
+
### 2. Refering Xceed Zip for .NET library
57
57
58
-
To add a DataGrid to your XAML, follow these steps:
58
+
1.**Add the reference with using statement at the top of the class**
59
+
```
60
+
using Xceed.Zip;
61
+
```
62
+
63
+
2.**Use the classes and elements from the namespace**
64
+
```c#
65
+
usingXceed.Zip;
59
66
60
-
1.**Open your XAML file (e.g., MainWindow.xaml).**
61
-
2.**Add the following namespace at the top of your XAML file:**
How to Zip and UnZip a file in .NET C# in seconds!
98
+
99
+
Xceed Zip for .NET makes manipulating Zip files in C# very easy and simple.
100
+
101
+
First launched in 2002 for .NET 1.0, Xceed Zip for .NET has been updated frequently ever since by our developers. It allows to quickly Zip and Unzip files using C# or Visual Basic for .NET code.
102
+
103
+
Note that the following example is done in C#, but that the Visual Basic for .NET code will be very similar.
104
+
105
+
Also note that this code is compatible with .NET Standard, .NET Core, .NET 5 and .NET 6. Should you have an older project that also needs help from Xceed Zip for .NET, it is also compatible with all legacy versions of the .NET Framework.
106
+
107
+
So let's get to it!
108
+
109
+
There are 2 ways we can go about compressing. The easiest way is to use our QuickZip class.
110
+
111
+
If your scenarios are simple, this may just be the solution you need:
Xceed Zip for .NET offers a ton more functionalities! If you need more information, all functionalities are documented [here](https://doc.xceed.com/xceed-filesystem-for-net/webframe.html#topic87.html) (including encryption and different compression algorithms):
72
142
73
-
### 3. How to License the Product Using the LicenseKey Property
143
+
### 4. How to License the Product Using the LicenseKey Property
74
144
To license the Xceed Zip for .NET using the LicenseKey property, follow these steps:
75
145
76
146
1.**Obtain your license key** from Xceed. (Download the product from xceed.com or send us a request at [email protected]
77
147
2.**Set the LicenseKey property in your application startup code:**
148
+
149
+
2.1 In case of WPF or Desktop app could be in the MainWindow
78
150
```csharp
79
151
usingSystem.Windows;
80
152
@@ -83,56 +155,31 @@ To license the Xceed Zip for .NET using the LicenseKey property, follow these st
Open the solution file in Visual Studio and build the project to restore the necessary NuGet packages.
138
185
@@ -143,7 +190,7 @@ Open the solution file in Visual Studio and build the project to restore the nec
143
190
144
191
## Documentation
145
192
146
-
For more information on how to use the Xceed Zip for .NET, please refer to the [official documentation](https://doc.xceed.com/xceed-datagrid-for-wpf/webframe.html#rootWelcome.html).
193
+
For more information on how to use the Xceed Zip for .NET, please refer to the [official documentation](https://doc.xceed.com/xceed-filesystem-for-net/webframe.html#topic46.html).
0 commit comments