Example #1
0
 /// <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));
 }
Example #2
0
 /// <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));
 }