Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
enkomio committed Dec 21, 2018
1 parent f8846e3 commit 6d6c13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Let's consider the following code:

in order to inject the Assembly generated from the above code it is enough to use the following code:

var process = Process.GetProcessById(1234);
var injector = new Injector(process.Id, Assembly.LoadFile("AssemblyToInject.dll"));
var pid = 1234;
var injector = new Injector(pid, Assembly.LoadFile("AssemblyToInject.dll"));
var injectionResult = injector.Inject();


Expand Down

0 comments on commit 6d6c13f

Please sign in to comment.