mirror of
https://github.com/Stone-Red-Code/RemoteExec.git
synced 2026-09-04 17:16:22 +02:00
Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace RemoteExec.Shared;
|
||||
|
||||
public sealed class RemoteExecutionRequest
|
||||
{
|
||||
public required byte[] AssemblyBytes { get; set; }
|
||||
public required string TypeName { get; set; }
|
||||
public required string MethodName { get; set; }
|
||||
public required string[] ArgumentTypes { get; set; }
|
||||
public required object[] Arguments { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace RemoteExec.Shared;
|
||||
|
||||
public sealed class RemoteExecutionResult
|
||||
{
|
||||
public object? Result { get; set; }
|
||||
public string? Exception { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user