DateModified = InteropHelper.GetDateTime(handle, Interop.MediaInfo.GetModifiedTime);
Timeline = InteropHelper.GetDateTime(handle, Interop.MediaInfo.GetTimeline);
- ThumbnailPath = InteropHelper.GetString(handle, Interop.MediaInfo.GetThumbnailPath);
+ ThumbnailPath = InteropHelper.GetString(handle, Interop.MediaInfo.GetThumbnailPath, true);
Description = InteropHelper.GetString(handle, Interop.MediaInfo.GetDescription);
Longitude = InteropHelper.GetValue<double>(handle, Interop.MediaInfo.GetLongitude);
}
/// <summary>
- /// Gets the id of media.
+ /// Gets the ID of media.
/// </summary>
- /// <value>The unique id of media.</value>
+ /// <value>The unique ID of media.</value>
public string Id { get; }
/// <summary>
/// Gets the timeline of media.
/// </summary>
/// <value>
- /// The creation date if the file has the creation information (like recorded date or Image creation date),
+ /// The creation date if the file has the creation information (like recorded date or image creation date),
/// otherwise the modified date.
/// </value>
public DateTimeOffset Timeline { get; }
public string AgeRating { get; }
/// <summary>
- /// Gets the storage id of the storage that the media is stored on.
+ /// Gets the storage ID of the storage that the media is stored on.
/// </summary>
- /// <value>The storage id of the storage that the media is stored on.</value>
+ /// <value>The storage ID of the storage that the media is stored on.</value>
public string StorageId { get; }
/// <summary>
public StorageType StorageType { get; }
/// <summary>
- /// Returns a string representation of the media info.
+ /// Returns a string representation of the media information.
/// </summary>
- /// <returns>A string representation of the current media info.</returns>
+ /// <returns>A string representation of the current media information.</returns>
public override string ToString() => $"Id={Id}, Path={Path}, MediaType={MediaType}";
internal static MediaInfo FromHandle(Interop.MediaInfoHandle handle)