venus najad

venus najad

  • 1.3k
  • 414
  • 29.1k

Antivirus with C#

Jun 16 2019 8:55 AM
hello everyone... i have created an antivirus program and i have 3 issues:
1. i have put a method to find out, if another are connected to my computer, to delete them... for this i have used following codes:
IPHostEntry host;
string localIP = "?";
host = Dns.GetHostEntry(Dns.GetHostName());
//string hostName= Dns.GetHostName();
foreach (IPAddress ip in host.AddressList)
{
if (ip.AddressFamily.ToString() == "InterNetwork")
{
localIP = ip.ToString();
MessageBox.Show(localIP);
}
}
as you see i have used InterNetwork as keyword, but it shows only my IP address... but as you know the spies find other way to be connected to the system... which further keyword should i use? thansk
 
2. How can i make the application as an installation application? so that i can install my antivirus in my other computers... thanks
 
3. as you know, when you install an antivirus program, it sends protection signals on all your installed program... how should i do that? thanks
 
 hope that you answer my questions... kind regards, venus