Eset上的MSIL / PSW.Agent.QNK - 在VB.net中联系我们 - 帮助 [英] MSIL/PSW.Agent.QNK on Eset - Contact us in VB.net - HELP

查看:93
本文介绍了Eset上的MSIL / PSW.Agent.QNK - 在VB.net中联系我们 - 帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了这段代码,一切正常,但是如果我在安装了ESET的计算机上运行,​​它会说它是一个木马。

I used this code and everything works correctly, but if I run on the computer where ESET is installed, it says it's a trojan.

Imports System.Net.Mail
Public Class Form1

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
        Dim MyMessage As New MailMessage
        Try
            MyMessage.From = New MailAddress(-example@gmail.com-)
            MyMessage.To.Add(-example@gmail.com-)
            MyMessage.Subject = TextBox3.Text
            MyMessage.Body = TextBox1.Text
            Dim SMTP As New SmtpClient(-smtp.gmail.com-)
            SMTP.Port = 587
            SMTP.EnableSsl = True
            SMTP.Credentials = New System.Net.NetworkCredential(-example@gmail.com-, -email password-)
            SMTP.Send(MyMessage)
        Catch ex As Exception
            Me.Hide()
            Form2.Show()

        End Try
    End Sub

    Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click
        Dim ask As MsgBoxResult
        ask = MsgBox(-Are you sure you want to clear out your form?-, MsgBoxStyle.YesNoCancel, -Clearing The Form-)
        If ask = MsgBoxResult.Yes Then
            MsgBox(-You have decided to clear the form.-)
            TextBox1.Clear()
            TextBox2.Clear()
            TextBox3.Clear()
            TextBox4.Clear()
        ElseIf ask = MsgBoxResult.No Then
            MsgBox(-You have decided to cancel.-)
        End If
    End Sub
End Class

教程在这里:

https://www.youtube.com/watch?v=hX58BKFSL6c& t = 92s

https://www.youtube.com/watch?v=hX58BKFSL6c&t=92s

请帮帮我。 THX,对不起我的英语。 

Help me, please. THX and sorry for my english. 

推荐答案

这不会被处理通过代码。您可以将应用程序添加到忽略列表中,也可以花很多钱获得安全认证来解决此问题。

This would not be something handled via code. You would either add the app to an ignore list or spend a lot of money to get a security certification to resolve this.


这篇关于Eset上的MSIL / PSW.Agent.QNK - 在VB.net中联系我们 - 帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆