Esempio n. 1
0
        private async void AddDirectory(string path)
        {
            await IPFS.FilesMkdir(path);

            this.m_Directories = await DirectoryCollection.Build();

            this.NotifyPropertyChanged("Directories");
        }
Esempio n. 2
0
        private async void DoIt()
        {
            //string fileName = @"c:\testing\phoneprefix.txt";
            //JObject result = await IPFS.AddAsync(fileName);
            //Console.WriteLine(result["Hash"]);
            //JObject result = await IPFS.FilesLs("/policy_chain/one");

            this.m_Directories = await DirectoryCollection.Build();

            this.NotifyPropertyChanged("Directories");
        }