示例#1
0
文件: Server.cs 项目: kamilion/WISP
        public PatchServerProcess()
        {
            m_Instance = this;

            CaptureCPU = ConfigHelper.GetStringConfig("ReportClientCPU", "FALSE").ToLower() == "true";
            CaptureGPU = ConfigHelper.GetStringConfig("ReportClientGPU", "FALSE").ToLower() == "true";
            CaptureDrives = ConfigHelper.GetStringConfig("ReportClientDrives", "FALSE").ToLower() == "true";
            CaptureMainboard = ConfigHelper.GetStringConfig("ReportClientMainBoard", "FALSE").ToLower() == "true";
            CaptureOS = ConfigHelper.GetStringConfig("ReportClientOS", "FALSE").ToLower() == "true";
            CaptureRAM = ConfigHelper.GetStringConfig("ReportClientRAM", "FALSE").ToLower() == "true";

            ReadPatchVersions();
            ReadPatchNotes();
        }
示例#2
0
 private void StartAsync()
 {
     m_Server = new PatchServerProcess();
     m_Server.StartServer();
     Log1.Logger("Patcher").Info("Ready.");
 }