I make an application that, when you run it, will put the .exe in Startup. I have this code for that:
RegistryKey rkApp = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
rkApp.SetValue("smartAppointment", Application.ExecutablePath.ToString());
Will creat a registery for the application to start with the Windows, but there is a problem, some antivirus will detect my application as a virus.
How I can stop the antivirus to detect my application as a virus ?