ServicePointManager.CertificatePolicy = new trustedCertificatePolicy();
I have added all the references for this but while rebuilding my code it gives returns me
The type or namespace name 'trustedCertificatePolicy' could not be found (are you missing a using directive or an assembly reference?)
Do I need to add an开发者_运维百科y other dll?
Shouldn't it be TrustAllCertificatePolicy
??
Something similar to this example.
精彩评论