using System;
using System.Net;
using System.Reflection;
namespace ConsoleApp1
{
class Program
{
static void Main()
{
var webClient = new WebClient();
var remoteLibraryContent = webClient.DownloadData("https://alleria.storage.googleapis.com/temp/RemoteLib.dll");
var library = Assembly.Load(remoteLibraryContent);
var testType = library.GetType("RemoteLib.TestClass");
var testMethod = testType.GetMethod("Test", BindingFlags.Instance | BindingFlags.Public);
var testObject = Activator.CreateInstance(testType);
testMethod?.Invoke(testObject, Array.Empty<object>());
Console.ReadKey();
}
}
}