# devices

> A list of available microphone devices, identified by name.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AudioModule

```csharp
public static string[] devices { get; }
```

### Remarks

You can use the name with the [Microphone.Start](/engine/6000.0/script-reference/unityengine/microphone/start.md) and [Microphone.End](/engine/6000.0/script-reference/unityengine/microphone/end.md) functions to specify which microphone you wish to start/stop recording.

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    // Get list of Microphone devices and print the names to the log
    void Start()
    {
        foreach (var device in Microphone.devices)
        {
            Debug.Log("Name: " + device);
        }
    }
}
```

Additional Resources: [Microphone.Start](/engine/6000.0/script-reference/unityengine/microphone/start.md), [Microphone.End](/engine/6000.0/script-reference/unityengine/microphone/end.md), [Microphone.IsRecording](/engine/6000.0/script-reference/unityengine/microphone/isrecording.md).
