static void ThreadMethod() { IsWorking = true; while (IsWorking) { API.Process(); } API.Exit(); Console.WriteLine("client is exit..."); }
public void Process() { _api.Process(); }