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

  • 3 January 2020
  • 4 replies


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!


Best answer by Berny 3 January 2020, 15:03

View original

This topic has been closed for comments

4 replies

Userlevel 7
Badge +9

message from KIS 20: VHO:trojan.MSIL.Agent.gen

Welcome.  Please contact K-Lab Technical Support : https://center.kaspersky.com

I try it. Thanks!

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

Userlevel 7
Badge +9

You are welcome, FYI  please see this