The first time that i enter in my page i have this error "The request was aborted: Could not create SSL/TLS secure channel."
If i reload the page this don't appare and it works.
This is the code :
Dim _command As String
_command = "https://www.dropbox.com/oauth2/authorize?client_id=" & _App_key
_command += "&response_type=code"
_command += "&redirect_uri=https://xxxxxx.xxxxx.xx/Test.aspx"
Dim Request As HttpWebRequest
Request = HttpWebRequest.Create(_command)
Request.Method = "GET"
Request.KeepAlive = True
ServicePointManager.Expect100Continue = True
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 Or SecurityProtocolType.Tls11 Or SecurityProtocolType.Tls Or SecurityProtocolType.Ssl3
Request.ContentType = "application/x-www-form-urlencoded" '"application/json" ' application/x-www-form-urlencoded"
Request.AllowAutoRedirect = True
Dim Response As HttpWebResponse = Request.GetResponse()
Is anything about timeout ?
Why if i reload the page this works ?
Thank you
Luca