Share via


CodecInfo Class

Definition

Provides information about a media codec that is installed on the system.

public ref class CodecInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CodecInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CodecInfo
Public NotInheritable Class CodecInfo
Inheritance
Object Platform::Object IInspectable CodecInfo
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Get an instance of this class by calling CodecQuery.FindAllAsync, which returns a list of all installed codecs that meet the specified criteria.

Properties

Category

Gets a value that specifies whether the codec is an encoder or a decoder.

DisplayName

Gets the friendly display name for the codec.

IsTrusted

Gets a value that indicates whether the codec runs in your app's process space rather than in a separate app service.

Kind

Gets a value specifying whether the codec operates on audio or video data.

Subtypes

Gets a read-only list of values that specify the media subtypes supported by the codec.

Applies to