public static string Scan(string MediaPath, MediaInfoScanType ScanType = MediaInfoScanType.Full)
 {
     try
     {
         //MediaInfoWrapper mediaInfoWrapper = new MediaInfoWrapper(MediaPath);
         using (var mediaInfo = new MediaInfo.MediaInfo(DllPath)) //MediaInfo Dll
         {
             mediaInfo.Open(MediaPath);
             if (ScanType == MediaInfoScanType.Full)
             {
                 mediaInfo.Option("Complete");
             }
             return(mediaInfo.Inform());
         }
     }
     catch (Exception ex)
     {
         return("");
     }
 }
 public string GetMediaInfo(string VideoPath, MediaInfoScanType ScanType)
 {
     PikoMediaInfo.DllPath = ConfigurationManager.AppSettings["PikoBlockPath"];
     return(PikoMediaInfo.Scan(VideoPath, ScanType));
 }