Windows Dev Center

CaptureDevice.IsDefaultDevice Property

Gets a value that declares whether the capture device is the default device for its type (audio or video).

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public bool IsDefaultDevice { get; }

Property Value

Type: System.Boolean
true if this CaptureDevice represents the default device for its type; otherwise, false.

If multiple devices are available, the user can select the device to use as part of the Windows Phone configuration dialog box (Webcam/Mic tab). In configuration UI, audio devices and video devices are listed separately, and each can have a default. If a device is unavailable in the Windows Phone configuration dialog box, no CaptureDevice instance represents it.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2015 Microsoft