v3.8.6.0 1、修改代码,将软件.net框架版本由4.5降低到4.0,可在WinXP系统运行,WinXP系统最高支持.net 4.0。

This commit is contained in:
wisdomwei201804 2018-07-18 16:48:25 +08:00
parent 4249a23f72
commit 78a5a33797

View File

@ -210,13 +210,12 @@ namespace net.nutcore.aliddns
try
{
Task task = Task.Factory.StartNew(() =>
new Thread(() =>
{
var proc = Process.Start(exec);
proc.WaitForExit();
proc.Dispose();
});
task.Start();
}).Start();
}
catch (Exception ex)
{
@ -228,7 +227,7 @@ namespace net.nutcore.aliddns
{
try
{
Task task = Task.Factory.StartNew(() =>
new Thread(() =>
{
Process[] pList = Process.GetProcessesByName("Ngrok");
foreach (Process p in pList)
@ -238,8 +237,7 @@ namespace net.nutcore.aliddns
p.WaitForExit();
p.Dispose();
}
});
task.Start();
}).Start();
}
catch (Exception ex)
{