MediaFrameSourceInfo.IsShareable Property

Definition

Gets a value indicating whether the associated stream can be open in shared mode.

public:
 property bool IsShareable { bool get(); };
bool IsShareable();
public bool IsShareable { get; }
var boolean = mediaFrameSourceInfo.isShareable;
Public ReadOnly Property IsShareable As Boolean

Property Value

Boolean

bool

True if the stream can be opened in shared mode; otherwise, false.

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Remarks

Since not all streams are shareable, it is important for shared mode application that has stream selection requirement to verify that the selected stream is shareable.

Applies to