當前位置:編程學習大全網 - 網站源碼 - CHttpConnection和CInternetSession能與HTTPS網站通信麽

CHttpConnection和CInternetSession能與HTTPS網站通信麽

pIS = new CInternetSession();

EXIT_ON_NULL(pIS,hr);

pHC = pIS->GetHttpConnection(strUrl,INTERNET_FLAG_SECURE,0,0,0);

TracklogA("pIS->GetHttpConnection %d",hr);

EXIT_ON_NULL(pHC,hr);

pHF = pHC->OpenRequest(CHttpConnection::HTTP_VERB_POST,sHrefLianXiRen,0,1,0,0,INTERNET_FLAG_SECURE);

TracklogA("pHC->OpenRequest %X",pHC);

EXIT_ON_NULL(pHF,hr);

  • 上一篇:黑暗之魂圖書館書架上的箱子怎麽拿
  • 下一篇:linux內核源代碼中為什麽會有重名文件
  • copyright 2024編程學習大全網