Do we have any way to get HttpClientHandler to attach X509 certificate and hit a WebAPI in WPF Application's WebView2 control?
I have a specific scenario here with WPF application. I want to call WebAPI with X509Certificate attached in WebView2 control. Now, if it was HttpClient then I could have got HttpClientHandler to attach the certificate. How do I do this with WebView2 control. The reason here I want to do this with WebView2 control, because, the WebAPI validates certificate thumbprint and will redirect to a different webpage depending on scenario which needs to be rendered on WebView2.