public override void Execute()
        {
            var managedClient = new ipfsManagedClient ();
            managedClient.IsVerbose = true;
            managedClient.Init ();

            var dataDir = managedClient.DataDirectory;

            var sourceDir = Path.GetFullPath ("source");

            Directory.CreateDirectory (sourceDir);

            var sourceFile = Path.Combine (sourceDir, "file.txt");

            var contents = "Hello world";

            File.WriteAllText (sourceFile, contents);

            var subFolderName = "TestSubFolder";

            var testDirectory = Environment.CurrentDirectory;

            Directory.SetCurrentDirectory (sourceDir);

            var hash = managedClient.AddFile (sourceFile, subFolderName);

            Directory.SetCurrentDirectory (testDirectory);

            var peerId = managedClient.Publish (hash);

            var relativeFilePath = subFolderName + "/" + Path.GetFileName (sourceFile);

            var fileChecker = new ipfsFileChecker ();
            fileChecker.CheckTestFile ("ipns", peerId, relativeFilePath, contents);
        }
        public override void Execute()
        {
            var echo = new ipfsEcho ();
            echo.IsVerbose = true;
            echo.Init ();

            var firstString = "one";

            var subFolderName = Guid.NewGuid().ToString();

            var peerId = echo.Echo (firstString, subFolderName);

            Console.WriteLine(peerId);

            var fileChecker = new ipfsFileChecker ();

            var relativeFilePath = subFolderName + "/data.txt";

            fileChecker.CheckTestFile ("ipns", peerId, relativeFilePath, firstString);

            var secondString = "two";

            peerId = echo.Echo (secondString, subFolderName);

            var combinedString = firstString + Environment.NewLine + secondString;

            fileChecker.CheckTestFile ("ipns", peerId, relativeFilePath, combinedString);
        }