usingvarclient=newDeepgramClient(apiKey);ISpeechToTextClientspeechClient=client;// Download a short audio sample to use as streaming input.usingvarhttpClient=newHttpClient();varaudioBytes=awaithttpClient.GetByteArrayAsync("https://dpgr.am/spacewalk.wav");usingvaraudioStream=newMemoryStream(audioBytes);// Stream audio through the MEAI ISpeechToTextClient interface.// This uses typed ConnectAsync internally with model and language params.varupdates=newList<SpeechToTextResponseUpdate>();awaitforeach(varupdateinspeechClient.GetStreamingTextAsync(audioStream,newSpeechToTextOptions{ModelId="nova-3",SpeechLanguage="en",})){updates.Add(update);if(update.Kind==SpeechToTextResponseUpdateKind.TextUpdated){Console.WriteLine($"Final: {update.Text}");}}// Verify we received session events and transcription results.varfinalTranscripts=updates.Where(u=>u.Kind==SpeechToTextResponseUpdateKind.TextUpdated&&u.Textis{Length:>0}).Select(u=>u.Text!).ToList();Console.WriteLine($"Total final transcripts: {finalTranscripts.Count}");