예제 #1
0
        private string GetCsrf()
        {
            string token;

            try
            {
                var api = new DefaultApi(nodeAddress);
                token = api.Csrf().CsrfToken;
            }
            catch (Exception)
            {
                return("");
            }

            return(token);
        }