minor changes

This commit is contained in:
Shreyas Zare
2019-06-29 14:00:57 +05:30
parent bc0ab5feb9
commit 30d4549a5f
3 changed files with 6 additions and 6 deletions

View File

@@ -32,11 +32,11 @@ namespace DnsServerApp
if (args.Length == 1)
configFolder = args[0];
DnsWebService service = null;
WebService service = null;
try
{
service = new DnsWebService(configFolder, new Uri("https://go.technitium.com/?id=21"));
service = new WebService(configFolder, new Uri("https://go.technitium.com/?id=21"));
service.Start();
Console.WriteLine("Technitium DNS Server was started successfully.");

View File

@@ -32,11 +32,11 @@ namespace DnsServerApp
if (args.Length == 1)
configFolder = args[0];
DnsWebService service = null;
WebService service = null;
try
{
service = new DnsWebService(configFolder, new Uri("https://go.technitium.com/?id=20"));
service = new WebService(configFolder, new Uri("https://go.technitium.com/?id=20"));
service.Start();
Console.WriteLine("Technitium DNS Server was started successfully.");

View File

@@ -25,7 +25,7 @@ namespace DnsService
{
public partial class DnsService : ServiceBase
{
DnsWebService _service;
WebService _service;
public DnsService()
{
@@ -34,7 +34,7 @@ namespace DnsService
protected override void OnStart(string[] args)
{
_service = new DnsWebService(null, new Uri("https://go.technitium.com/?id=22"));
_service = new WebService(null, new Uri("https://go.technitium.com/?id=22"));
_service.Start();
}