The question is very hard to try to describe:
Purpose: Downloading the dll I need, and the connection (dynamically or otherwise)!
The question itself: I have a dll (Ionic.dll) - to create a file archive!
I want to upload this dll for example to the hosting, and from there when downloading so that my program can connect to this dll and continue working: How can I do this? Here is a piece of code responsible for archiving:
using Ionic.Zip; public class Archive { static string US = Environment.UserName; public static void GO() { try { using (var zip = new ZipFile()) { { zip.CompressionLevel = Ionic.Zlib.CompressionLevel.BestCompression; zip.AlternateEncodingUsage = ZipOption.Always; zip.AlternateEncoding = Encoding.UTF8; zip.UseZip64WhenSaving = Zip64Option.AsNecessary; zip.AddDirectory("С:\\Papka"); zip.Save("С:\\Papka"+ "_" + ".zip"); } zip.Dispose(); } } else { } } catch { } } Prompt the best way to connect dll dynamically! Most likely the dll will be next to the project to lie next to 1 folder! It would also be not bad to make a check, that is, if there is no necessary dll to make an exception near the exe's, if there is something to connect and start working.