/// <summary> /// Gets a value indicating wether this video format exists on the specified drive /// </summary> /// <param name="driveletter">the drive to check</param> /// <returns>True if the format exists on the drive</returns> public static bool PathExistsOnDrive(this VideoFormat self, string driveletter) { if (self == VideoFormat.Unknown || self == VideoFormat.File || self == VideoFormat.NotSupported) { return(false); } else { return(System.IO.File.Exists(self.GenerateVideoPathOnDrive(driveletter))); } }