PS C: \Windows\system32> add-type @'
>> using System. Net;
>> using System. Security.Cryptography.X509Certificates;
»› public class TrustAl1CertsPolicy : ICertificatePolicy {
>› public bool CheckValidationResult(
>> ServicePoint srvPoint, X509Cert...