C# Application Being Quarantined By Bitdefender. Any Suggestions?

Hello,

I'm an amateur hobby coder and I have a C# application which has a "Open Log Folder" button in the UI. The code looks like this:

ProcessStartInfo startInfo = new ProcessStartInfo

{

   Arguments = folderPath,

   FileName = "explorer.exe"

};

try

{

   Process.Start(startInfo);

}

catch

{

   ...

}


Whenever the button is clicked, BitDefender immediately quarantines the app. I really don't want to ask my users to whitelist the application as it's not exactly good security practice to whitelist random apps from strangers on the internet, so is there an alternative way to open a folder that won't get flagged by BitDefender?

Tagged:

Answers