Created
December 21, 2020 09:09
-
-
Save jfmaes/a633b68b8737f81b2f4a31ec8f6808ec to your computer and use it in GitHub Desktop.
Sample Reflection of the HelloFromDotNetFramework assembly for the blogpost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear | |
$bytes=[System.IO.File]::ReadAllBytes("C:\Users\jeanm\source\repos\HelloFromDotNetFramework\bin\Release\HelloFromDotNetFramework.exe") | |
$asm = [System.Reflection.Assembly]::Load($bytes) | |
$params = {null} | |
[HelloFromDotNetFramework.Program]::Main($params) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment