Reset ServicePointManager Servicepoints

MatthewChanMatthewChan CAMember ✭✭
edited October 2015 in Xamarin.Android

I am wondering how to reset all of the service points inside the ServicePointManager. I am logging in to one of my websites using a self signed certificate and I am setting the ServerCertificateValidationCallback to my own method. After logging out, I find that I have to wait ~15 minutes for the ServicePointManager cache to be cleared so that my callback method is called. Any login prior to the 15 minute wait bypasses my callback. Any suggestions on how to ensure the ServerCertificateValidationCallback is called is greatly appreciated.

Tagged:

Answers

  • ArcheoneArcheone FRMember ✭✭

    Hello Matthew.

    Can you send me the snippet you write for the validation of the certificate?
    It's doesn't work in my case ? Maybe I have write something wrong.

    I will check if after 15 min I have the same problem that you.

Sign In or Register to comment.