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