Exemplo n.º 1
0
        /// <summary>
        /// 第三方开发App进行权限认证
        /// </summary>
        /// <param name="appKey">第三方开发的app从大奖章网站获取唯一认证的Id</param>
        /// <param name="appSecret">第三方开发app的秘钥</param>
        /// <param name="options">保留参数</param>
        /// <returns>认证数据</returns>
        public WindData wappAuth(string appKey, string appSecret, string options)
        {
            checkConnection();
            object ofields, odata, ocodes, otimes;
            int    errCode;

            odata = wdc.wappAuth_syn(appKey, appSecret, options, out ocodes, out ofields, out otimes, out errCode);
            return(formatWD(ocodes, ofields, otimes, odata, errCode));
        }