Exemplo n.º 1
0
        public void TestGetExtendedACL()
        {
            var host   = "localhost:8080";
            var key    = "KxDgvEKzgSBPPfuVfw67oPQBSjidEiqTHURKSDL1R7yGaGYAeYnr".LoadWif();
            var cid    = ContainerID.FromBase58String("Bun3sfMBpnjKc3Tx7SdwrMxyNi8ha8JT3dhuFGvYBRTz");
            var client = new Client.Client(key, host);
            var source = new CancellationTokenSource();

            source.CancelAfter(10000);
            var eacl = client.GetEACL(source.Token, cid);

            Console.WriteLine(eacl);
        }