public static bool TryGetVersion(out string version) { try { using (var info = new MI.MediaInfo()) { version = info.Option("Info_Version"); return(true); } } catch (Exception) { version = null; return(false); } }