Skip to content

Instantly share code, notes, and snippets.

@benhall-7
Last active November 19, 2018 20:31
Show Gist options
  • Save benhall-7/5cb97c1f7d4e3453b7e8cfbba301ceef to your computer and use it in GitHub Desktop.
Save benhall-7/5cb97c1f7d4e3453b7e8cfbba301ceef to your computer and use it in GitHub Desktop.
Example program
using r2pipe;
using System;
namespace R2Dump
{
class Program
{
static void Main(string[] args)
{
using (R2Pipe pipe = new R2Pipe(@"C:\Users\Breakfast\Documents\Smash4Tools\rpx\output117.elf"))
{
Console.WriteLine("Greetings from the r2 pipe!");
Console.WriteLine(pipe.RunCommand("i"));
}
Console.ReadKey();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment