mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Netch.Controllers.Other.DNS
|
|
{
|
|
public class CoreDNSController : Interface.IController
|
|
{
|
|
private Tools.Guard Guard = new()
|
|
{
|
|
StartInfo = new ProcessStartInfo()
|
|
{
|
|
FileName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Bin\\CoreDNS.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();
|
|
}
|
|
}
|
|
}
|