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

            if (authorization == null)
            {
                client.RequestUserAuthorization(new Scope[] { Scope.SEND });
            }
            else
            {
                var send = client.Send(authorization.AccessToken, 1111, "812-111-1111", null, 1, 0, null, "Test");
                this.sendLabel.Text = HttpUtility.HtmlEncode(send);
            }
        }