title: c# SpeechSynthesizer SpeakCompleted return variable
body: <p>Hoping someone can help! :)</p>
  
  <p>What I'm trying to achieve is have the reader_Speak() method return true when it's finished speaking. Similar to WaitUntilDone of the old SpeechLib.</p>
  
  <p>Here is the code I have :-</p>
  
  <pre><code>    public void reader_Speak(string strSpeech)
      {
          reader = new SpeechSynthesizer();
          reader.SpeakAsync(strSpeech);
          reader.SpeakCompleted += new EventHandler&lt;SpeakCompletedEventArgs&gt;(reader_SpeakCompleted);
      }
  
      private void reader_SpeakCompleted(object sender, SpeakCompletedEventArgs e)
      {
          reader.Dispose();
      }
  </code></pre>
  
  <p>Here is what I want :-</p>
  
  <pre><code>    public bool reader_Speak(string strSpeech)
      {
          reader = new SpeechSynthesizer();
          reader.SpeakAsync(strSpeech);
          reader.waituntildone();
          return true;
      }
  </code></pre>
  
  <p>Anyone any suggestions?
  Thanks.</p>