コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            IAuthorizationState authorization = client.ProcessUserAuthorization();

            if (authorization == null)
            {
                client.RequestUserAuthorization(new Scope[] { Scope.REQUEST });
            }
            else
            {
                var request = client.Request(authorization.AccessToken, 1111, "812-111-1111", 1, UserType.DWOLLA, null, "Test");
                this.requestLabel.Text = HttpUtility.HtmlEncode(request);
            }
        }