Exemplo n.º 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();
        }
Exemplo n.º 2
0
 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");
 }
Exemplo n.º 3
0
 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");
 }