示例#1
0
        private static TokenClient InitializeSDK()
        {
            var key = Directory.CreateDirectory(Path.Combine(rootLocation, "keys"));

            return(TokenClient.NewBuilder()
                   .ConnectTo(TokenCluster.SANDBOX)
                   .WithKeyStore(new UnsecuredFileSystemKeyStore(key.FullName))
                   .Build());
        }