mirror of
https://github.com/snltty/linker.git
synced 2025-11-01 04:53:15 +08:00
适配跨平台,winform乱码
This commit is contained in:
@@ -3,7 +3,6 @@ using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.ServiceProcess;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace cmonitor.sas.service
|
||||
{
|
||||
@@ -102,7 +101,7 @@ namespace cmonitor.sas.service
|
||||
}
|
||||
}, cancellationTokenSource, TaskCreationOptions.LongRunning);
|
||||
}
|
||||
|
||||
|
||||
private void WriteAllCloseState(bool state)
|
||||
{
|
||||
for (int i = 0; i < shareMLength; i++)
|
||||
@@ -110,7 +109,7 @@ namespace cmonitor.sas.service
|
||||
shareMemory.WriteClosed(i, state);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Process proc;
|
||||
private void CheckMainProcess()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user