24 lines
681 B
C#
24 lines
681 B
C#
using AsyncRAT_Sharp.MessagePack;
|
|
using AsyncRAT_Sharp.Sockets;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AsyncRAT_Sharp.Handle_Packet
|
|
{
|
|
public class HandlePing
|
|
{
|
|
public HandlePing(Clients client, MsgPack unpack_msgpack)
|
|
{
|
|
if (Program.form1.listView1.InvokeRequired)
|
|
{
|
|
Program.form1.listView1.BeginInvoke((MethodInvoker)(() =>
|
|
{
|
|
if (client.LV != null)
|
|
{
|
|
client.LV.SubItems[Program.form1.lv_prefor.Index].Text = unpack_msgpack.ForcePathObject("Message").AsString;
|
|
}
|
|
}));
|
|
}
|
|
}
|
|
}
|
|
}
|