Пример #1
0
            public static void Main()
            {
                Play("https://raw.githubusercontent.com/AlterEgojQuery/ElDegrec/master/ElDegrec/ElDegrec/Resources/Degrec.wav");
                CookieContainer cookieContainer = new CookieContainer();
                BetterWebClient webclient       = new BetterWebClient(cookieContainer);

                webclient.DownloadFileAsync(new Uri("https://raw.githubusercontent.com/AlterEgojQuery/ElDegrec/master/ElDegrec/ElDegrec/Resources/Degrec.wav"), BaseDir + "degrec.wav");
                Play(Degrec);
                Game.OnUpdate += Game_OnUpdate_SoundEngine;
            }