IsDefaultDevice Property
Collapse the table of content
Expand the table of content

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 Silverlight 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 Silverlight configuration dialog box, no CaptureDevice instance represents it.


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2016 Microsoft