Exemplo n.º 1
0
 static void SetImgWebInfo(WebInfo webInfo, MHttpClientHandler handler)
 {
     handler.StreamCallback = MHttpClientHandler.CreateNewConnectAsync(
         MHttpClientHandler.CreateCreateConnectAsyncFunc(webInfo.ImgDns, 443),
         MHttpClientHandler.CreateCreateAuthenticateAsyncFunc(webInfo.ImgSni, false));
 }