예제 #1
0
        // MD分析 -> 店舗売上集計 -> 照会
        public string Reach()
        {
            var binary = _Client.UploadValues(FMWW.Core.MainMenu.Url, "POST", MainMenuFactory.CreateInstance().Translate());
            var html   = Encoding.UTF8.GetString(binary);

            return(html);
        }
예제 #2
0
        public void ReachAsync()
        {
            UploadValuesCompletedEventHandler onUploadValuesCompleted = null;

            onUploadValuesCompleted = new UploadValuesCompletedEventHandler(
                (o, args) =>
            {
                _Client.UploadValuesCompleted -= onUploadValuesCompleted;
                var html = Encoding.UTF8.GetString(args.Result);
                if (null != Reached)
                {
                    Reached(html);
                }
            });
            _Client.UploadValuesCompleted += onUploadValuesCompleted;
            _Client.UploadValuesAsync(FMWW.Core.MainMenu.Url, "POST", MainMenuFactory.CreateInstance().Translate());
        }