using Microsoft.Win32;
try
{
string strPath = Application.StartupPath + @"/SystemSalver.exe";
RegistryKey rk1 = Registry.LocalMachine.CreateSubKey(@"SOFTWARE/Microsoft/Windows/CurrentVersion/Run");
rk1.SetValue("RunProa",strPath);
rk1.Close();
}
catch
{
}