使用smtp&时为什么我会收到防病毒警报GetAsyncKeyState

时间:2014-03-26 02:46:07

标签: c# winforms

我在构建

时收到防病毒警报tr \ gen8 spy

这是我的代码:

using System;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace reading
{
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }
    [DllImport("user32.dll")]
    private static extern short GetAsyncKeyState(System.Windows.Forms.Keys vKey);

    private void Form1_Load(object sender, EventArgs e)
    {

        System.Net.Mail.SmtpClient smtpClient;
    }

}
 }

有什么建议吗?

感谢您的帮助

0 个答案:

没有答案