예제 #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.");
 }