Jump to content

two lines of code detected as VHO:trojan.MSIL.Agent.gen [Closed]


Go to solution Solved by Berny,

Recommended Posts

Posted

Hello,

I develop 2 SWs and I tried copy few rows from A project to B project and I have a message from KIS 20: VHO:trojan.MSIL.Agent.gen

I copied these rows:

if (files.files.UsageCounter == 10)
            {
                if (MessageBox.Show(lang.nyelvt[311], "", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
                {
                    System.Diagnostics.Process.Start("mailto:?Subject=" + lang.nyelvt[312] + "&Body=" + lang.nyelvt[313]);
                }
            }

 

If I delete the if row and the {} characters then it is working properly. But if I want to check a counter then I have the message.

If other people want use my SW then I hope don’t block the Antivirus SW by just this row.

Do you have any idea what is the problem? I can add to “add to exclusions” but is it working on more computers?

Thank you for your answers!

Posted

Yes, I saw it. But only an “if” row when something went wrong :S

Guest
This topic is now closed to further replies.


×
×
  • Create New...