Files
netch/Netch/Controllers/Other/DNS/DNSProxyController.cs
Connection Refused f8ce7cc106 [Netch] Updated
2021-09-21 23:00:14 +08:00

40 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace Netch.Controllers.Other.DNS
{
public class DNSProxyController : Interface.IController
{
private Tools.Guard Guard = new()
{
StartInfo = new ProcessStartInfo()
{
FileName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin\\dnsproxy.exe"),
WorkingDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin"),
CreateNoWindow = true,
UseShellExecute = false,
WindowStyle = ProcessWindowStyle.Hidden
},
JudgmentStarted = new List<string>()
{
},
JudgmentStopped = new List<string>()
{
},
AutoRestart = true
};
public bool Create(Models.Server.Server s, Models.Mode.Mode m)
{
throw new NotImplementedException();
}
public bool Delete()
{
throw new NotImplementedException();
}
}
}