Beispiel #1
0
        private void ButtonDisconnectAll_Click(object sender, RoutedEventArgs e)
        {
            HttpAdapter ha = new HttpAdapter();

            ha.Destination = "https://its.pku.edu.cn/cas/login";
            ha.cc          = _cookie;
            ha.ProcessHttp(PKUGW_WP.paraCombination("USERNAME_DOSSTONED", "PWDOSSTONED", PKUGW_WP.莫名其妙的字符串, PKUGW_WP.LoginType.free), 20);

            ha.Destination = "https://its.pku.edu.cn/netportal/ipgwcloseall";
            ha.ProcessHttp("sid=348");
        }