C# Auto Power Code at Startup

// library add
using Microsoft.Win32;

RegistryKeykey=Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run", true);
            key.SetValue("Bilgisayar Koruyucu", "\"" + Application.ExecutablePath + "\"");

Yorumlar