~ruther/csharp-dll-injector

ff1f1c4244eb5b79c3eef5d6ea1f97fa272886a3 — František Boháček 4 years ago 322bb9b
Update readme examples
1 files changed, 6 insertions(+), 2 deletions(-)

M README.md
M README.md => README.md +6 -2
@@ 20,5 20,9 @@ This is a simple C# dll injector. It can inject dll into remote process and exec
- To inject dll use `Injector` class, the `Inject`  method will return `InjectedModule` with `ExecuteFunction` method
```
InjectedModule injectedModule = Injector.Inject("RemoteProcess", "MyDynamicLibrary.dll");
injectedModule.ExecuteFunction("Main");
```
\ No newline at end of file
FunctionResult result = injectedModule.ExecuteFunction("Main");

int integerResult = result.To<int>(); // Primitive types are casted from IntPtr, Reference types are Read from pointer
```

- See examples for more
\ No newline at end of file

Do not follow this link