Device.Audio.StartRecording(); This will start recording audio from the Microphone.
var recordedBytes = await Device.Audio.StopRecording(); // You can use it anyhow. For example: myFile.WriteAllBytes(result);