CodecInfo
CodecInfo
CodecInfo
CodecInfo
Class
Definition
Provides information about a media codec that is installed on the system.
public : sealed class CodecInfo : ICodecInfopublic sealed class CodecInfo : ICodecInfoPublic NotInheritable Class CodecInfo Implements ICodecInfo// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
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 Category Category Category
Gets a value that specifies whether the codec is an encoder or a decoder.
public : CodecCategory Category { get; }public CodecCategory Category { get; }Public ReadOnly Property Category As CodecCategory// You can use this property in JavaScript.
A value that specifies whether the codec is an encoder or a decoder.
DisplayName DisplayName DisplayName DisplayName
Gets the friendly display name for the codec.
public : PlatForm::String DisplayName { get; }public string DisplayName { get; }Public ReadOnly Property DisplayName As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The friendly display name for the codec.
IsTrusted IsTrusted IsTrusted IsTrusted
Gets a value that indicates whether the codec runs in your app's process space rather than in a separate app service.
public : PlatForm::Boolean IsTrusted { get; }public bool IsTrusted { get; }Public ReadOnly Property IsTrusted As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the codec is runs in the app process space; false if the codec runs in a separate app service.
Kind Kind Kind Kind
Gets a value specifying whether the codec operates on audio or video data.
public : CodecKind Kind { get; }public CodecKind Kind { get; }Public ReadOnly Property Kind As CodecKind// You can use this property in JavaScript.
Subtypes Subtypes Subtypes Subtypes
Gets a read-only list of values that specify the media subtypes supported by the codec.
public : IVectorView<string> Subtypes { get; }public IReadOnlyList<string> Subtypes { get; }Public ReadOnly Property Subtypes As IReadOnlyList<string>// You can use this property in JavaScript.
- Value
- IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>
A read-only list of values that specify the media subtypes supported by the codec.
Remarks
Each value in the list returned by this method is string representation of a GUID that identifies a media subtype that is supported by the codec. For a listing of media subtype GUIDs, see Audio Subtype GUIDs or Video Subtyp GUIDs. The CodecSubtypes class provides properties for most supported media subtypes that return the string representation of the subtype GUID to make it easy to compare against the Subtypes property of a CodecInfo object to see if a codec supports a particular subtype.