Exemplo n.º 1
0
        /// <summary>
        /// Gets the user informarion from the server.
        /// </summary>
        private void GetUserInfo()
        {
            // If already loading user infomation
            if (this.IsBusy)
            {
                return;
            }

            // Send request to the server
            this.IsBusy = true;
            WebHelper.SendAsync(
                Uris.GetGetUserInfoUri(),
                null,
                this.ProcessGetUserDataResult,
                () => this.IsBusy = false);
        }