Example #1
0
 /// <summary>
 /// 通知服务器客户端即将退出
 /// </summary>
 public static void ClosePipe()
 {
     if (pipeClient != null)
     {
         m_StreamString.WriterString("close");
         m_StreamString = null;
         pipeClient.Close();
         pipeClient = null;
     }
 }
Example #2
0
 public void Start()
 {
     //string contents = File.ReadAllText(fn);
     streamString.WriterString(Contents);
 }