示例#1
0
        public static Task <MoneroDaemonClient> CreateAsync(MoneroNetwork moneroNetwork, CancellationToken cancellationToken = default)
        {
            var moneroDaemonClient = new MoneroDaemonClient(moneroNetwork);

            return(moneroDaemonClient.InitializeAsync(cancellationToken));
        }
示例#2
0
        public static Task <MoneroDaemonClient> CreateAsync(string url, uint port, CancellationToken cancellationToken = default)
        {
            var moneroDaemonClient = new MoneroDaemonClient(url, port);

            return(moneroDaemonClient.InitializeAsync(cancellationToken));
        }