You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Firebird http://ADO.NET in my C# application. Since I switched my code from synchronous to asynchronous code I am getting a trojan alert from Kaspersky Total Security, every time I open a connection.
The code I am using is:
// This works fine
using (FbConnection connection = new FbConnection(ConnectionString))
{
connection.Open();
using (FbCommand cmd = connection.CreateCommand())
{
cmd.CommandText = "SELECT * FROM PERSONAL";
cmd.ExecuteNonQuery();
}
}
// This results in trojan alert from Kaspersky
using (FbConnection connection = new FbConnection(ConnectionString))
{
await connection.OpenAsync();
using (FbCommand cmd = connection.CreateCommand())
{
cmd.CommandText = "SELECT * FROM PERSONAL";
await cmd.ExecuteNonQueryAsync();
}
}
The text was updated successfully, but these errors were encountered:
Submitted by: Marvin Klein (marvinklein)
Hi there,
I am using Firebird http://ADO.NET in my C# application. Since I switched my code from synchronous to asynchronous code I am getting a trojan alert from Kaspersky Total Security, every time I open a connection.
The code I am using is:
// This works fine
using (FbConnection connection = new FbConnection(ConnectionString))
{
connection.Open();
using (FbCommand cmd = connection.CreateCommand())
{
cmd.CommandText = "SELECT * FROM PERSONAL";
cmd.ExecuteNonQuery();
}
}
// This results in trojan alert from Kaspersky
using (FbConnection connection = new FbConnection(ConnectionString))
{
await connection.OpenAsync();
using (FbCommand cmd = connection.CreateCommand())
{
cmd.CommandText = "SELECT * FROM PERSONAL";
await cmd.ExecuteNonQueryAsync();
}
}
The text was updated successfully, but these errors were encountered: