|
Dictionary< string, Assembly > | Assemblies = new Dictionary<string, Assembly>() |
|
string | classpath = "Plugin.Main" |
|
|
static Assembly | CurrentDomain_AssemblyResolve (object sender, ResolveEventArgs args) |
| Handles the resolution of the "xeno rat client" assembly and returns the executing assembly if the requested assembly name matches.
|
|
◆ DllHandler()
xeno_rat_client.DllHandler.DllHandler |
( |
| ) |
|
|
inline |
◆ CurrentDomain_AssemblyResolve()
static Assembly xeno_rat_client.DllHandler.CurrentDomain_AssemblyResolve |
( |
object | sender, |
|
|
ResolveEventArgs | args ) |
|
inlinestaticprivate |
Handles the resolution of the "xeno rat client" assembly and returns the executing assembly if the requested assembly name matches.
- Parameters
-
sender | The source of the event. |
args | The event data. |
- Returns
- The executing assembly if the requested assembly name matches; otherwise, null.
◆ DllNodeHandler()
async Task xeno_rat_client.DllHandler.DllNodeHandler |
( |
Node | subServer | ) |
|
|
inline |
Handles the DLL node by receiving, loading, and invoking the specified DLL.
- Parameters
-
subServer | The Node representing the sub-server to handle the DLL. |
- Exceptions
-
Exception | Thrown when an error occurs during the handling of the DLL node. |
- Returns
- A task representing the asynchronous operation.
This method handles the DLL node by receiving the name of the DLL, checking if it is already loaded, and loading it if necessary. If the DLL is loaded, it creates an instance of the specified class and invokes the "Run" method using reflection. If an exception occurs during the handling of the DLL node, it sends a failure message along with the exception message to the sub-server.
◆ Assemblies
Dictionary<string, Assembly> xeno_rat_client.DllHandler.Assemblies = new Dictionary<string, Assembly>() |
◆ classpath
string xeno_rat_client.DllHandler.classpath = "Plugin.Main" |
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/xeno rat client/DllHandler.cs