/// <summary> /// Get MediaInfo from file /// </summary> /// <param name="filePath">FullPath to file</param> /// <param name="cancellationToken">Cancellation token</param> public static async Task <IMediaInfo> GetMediaInfo(string fileName, CancellationToken token) { return(await MediaInfo.Get(fileName, token)); }
/// <summary> /// Get MediaInfo from file /// </summary> /// <param name="filePath">FullPath to file</param> public static async Task <IMediaInfo> GetMediaInfo(string fileName) { return(await MediaInfo.Get(fileName)); }