https://github.com/Bluegrams/YoutubeDLSharp var ytdl = new YoutubeDL(); // set the path of the youtube-dl and FFmpeg if they're not in PATH or current directory ytdl.YoutubeDLPath = "d:\\youtube-dl.exe"; ytdl.FFmpegPath = "d:\\ffmpeg.exe"; // optional: set a different download folder ytdl.OutputFolder = "d:\\"; // download a video // var res = await ytdl.RunVideoDownload("https://www.youtube.com/watch?v=XVfZT7CKIb0"); // the path of the downloaded file //string path = res.Data; var res = await ytdl.RunVideoDataFetch("https://www.youtube.com/watch?v=XVfZT7CKIb0"); // get some video information VideoData video = res.Data; string title = video.Title; string uploader = video.Uploader; long? views = video.ViewCount; // all available download formats FormatData[] formats = video.Formats;