Example #1
0
        static void Main(string[] args)
        {
            var path = Path.Combine(Environment.CurrentDirectory, @"..\..\Source\TestWebServer\Data");
            var webServer = new WebServer(new FileInfo(path).FullName, 12345);

            Console.WriteLine("Test web server started. This web server is only hosting static content.");
            Console.WriteLine("Press any key to quit...");
            Console.ReadKey();
        }
 public void Setup()
 {
     _webServer  = new WebServer(new FileInfo(Path.Combine(Environment.CurrentDirectory, @"..\..\Source\DotNetAutoUpdate.Tests\Data")).FullName, 12345);
     _autoUpdate = new AutoUpdate();
     _autoUpdate.UpdateSettings.UpdateKeys = UpdateKeys.FromStrongNameKey("Data\\TestKeyPair.snk");
 }
 public void Setup()
 {
     _webServer = new WebServer(new FileInfo(Path.Combine(Environment.CurrentDirectory, @"..\..\Source\DotNetAutoUpdate.Tests\Data")).FullName, 12345);
     _autoUpdate = new AutoUpdate();
     _autoUpdate.UpdateSettings.UpdateKeys = UpdateKeys.FromStrongNameKey("Data\\TestKeyPair.snk");
 }