@Jeb Million Thanks for the question. Language identification can be used to determine the language being spoken in audio that has been passed to the Speech SDK.
Please follow the document for sample using C#.
https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-automatic-language-detection?pivots=programming-language-csharp