Struct EncryptedFileInfo
- Namespace
- VisioForge.Core.Types
- Assembly
- VisioForge.Core.dll
Contains information about the media streams present in an encrypted file.
public struct EncryptedFileInfoInherited Members
Remarks
This structure provides basic metadata about encrypted media files, indicating which types of media streams are available within the encrypted container. This information is useful for determining playback capabilities and requirements before attempting to decrypt and play the file.
The structure is typically used when working with DRM-protected content or proprietary encryption schemes where stream information needs to be accessible without fully decrypting the file. This allows applications to make informed decisions about how to handle the encrypted content.
Note that this structure only indicates the presence of streams, not their specific properties such as codecs, bitrates, or quality levels. More detailed information would typically be available after decryption or through additional metadata queries.
Properties
AudioPresent
Gets or sets a value indicating whether the encrypted file contains audio data.
public bool AudioPresent { readonly get; set; }Property Value
Remarks
This property indicates the presence of audio content within the encrypted file,
regardless of the audio format, codec, or number of channels. When true,
the application should prepare audio playback capabilities.
The presence of audio affects: - Audio device initialization - Audio processing pipeline setup - User interface elements for audio controls - Synchronization requirements with video (if present)
Files may contain multiple audio tracks (different languages, commentary, etc.), but this property only indicates whether any audio is present, not the number or types of audio streams available.
VideoPresent
Gets or sets a value indicating whether the encrypted file contains video data.
public bool VideoPresent { readonly get; set; }Property Value
Remarks
This property indicates the presence of video content within the encrypted file,
regardless of the video format, codec, or quality. When true, the application
should prepare video rendering capabilities for playback.
The presence of video affects: - Resource allocation for video decoding - Display surface preparation - User interface elements for video controls - Performance considerations for decryption and playback