I have been using Reflection to use Ionic.Zip.dll. I am able to create an instance of the ZipFile type but not able to access the Read method to extract a file.
Kindly share your thoughts. Thanks
- var DLL = Assembly.LoadFile(@"C:\Tools Use\Ionic.Zip.dll");
- var ZipFile = DLL.GetType("Ionic.Zip.ZipFile");
- var c = Activator.CreateInstance(ZipFile);
- var method = ZipFile.GetMethod("Read", BindingFlags.Static);
-
-