From 3c4ac4f41ee60500eeae3afc273ce8be2eed1663 Mon Sep 17 00:00:00 2001 From: Antonio Parata Date: Thu, 20 Dec 2018 22:17:24 +0100 Subject: [PATCH] Update README.md --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ef4c42e..511c98d 100644 --- a/README.md +++ b/README.md @@ -6,22 +6,21 @@ This project implements a .NET Assembly injection library. The method used to in - [Download binary][2] ## Usage -When you want to inject an assembly in a remote project you have to consider the following aspects: +When you want to inject an assembly in a remote process you have to consider the following aspects: -* The project currently supports only 32 bit process +* The ManagedInjector project currently supports only 32 bit process * The remote process must be a windows application (it must process messages in a message loop) -* If the CLR version is different, you will not be able to use reflection to inspect the loaded assemblies -If the above pre-conditions are satisfiedm you can inject an assembly and invoke an activation method. There are three possibilities to invoke the activation method: +If the above pre-conditions are satisfied you can inject an assembly and invoke an activation method. There are three possibilities to invoke the activation method: -* You have to specify the full method name to invoke (eg. _this.is.my.namespace.class.method_) -* You can inject an executable that defines an _EntryPoint_ method to execute +* You must specify the full method name to invoke (eg. _this.is.my.namespace.class.method_) +* You can inject an executable that defines an _EntryPoint_ method to execute (like a _Console_ project) * You can define a method with the following signatue: _ static void Inject()_ For practical examples see the TestRunner project. ### Adding dependencies -If the injected assembly has any dependencies on not standard .NET Assembly, you can add those dependencies with the ``AddDependency`` method. +If the injected assembly has any dependencies on not standard .NET assemblies, you can add those dependencies with the ``AddDependency`` method. ### Adding external files If the injected assembly needs to load some external file in order to work correctly (like a configuration file) you can specify them with the ``AddFile`` method. This method will copy the specified file in the working directory of the injected process.