public void SendCommand(string command) { byte[] buffer = Encoding.UTF8.GetBytes(command + "\r"); m_ShellStream.WriteAsync(buffer, 0, buffer.Length); m_ShellStream.FlushAsync(); }