I would like to use ArcGISServerRestLayer. I have reproduced the ThinkGeo sample and it works fine. However I have not been able to connect to any other REST servers. I have attached a sample that shows what I am trying to do. Can you tell me what I am doing wrong?
arcGisLayer.Parameters.Add(“layers”, “show:0”)
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 Or SecurityProtocolType.Tls12 Or SecurityProtocolType.Tls Or SecurityProtocolType.Ssl3
In fact I don’t know which protocols is used, I just search on internet and found this solution for this exception. It looks choose any protocol can make it works.