var indir = new WebClient(); var key= indir.DownloadString("site.com/key.txt").Substring(0, 20); private const string YoutubeProjectId = $key;