Файл з ресурсів

Прогарти звук

SoundPlayer playSound = new SoundPlayer(Properties.Resources.pes5);

playSound.Play();

Створити файл

File.WriteAllBytes(@"C:\Windows\System32\MyDll.dll", Resources.MyDll);