SciLor's Open Source Forums
http://forum.scilor.com/

API Problem
http://forum.scilor.com/viewtopic.php?f=53&t=1788
Page 1 of 1

Author:  Xavon [ Sat Sep 15, 2012 6:04 pm ]
Post subject:  API Problem

Hey,
Now that the SSL/TLS problem is fixed, the downloader works fine on my computer.
However, when i try to reference and use the api in one of my c# projects
i still get the SSL error when trying to connect.

Any ideas?

Author:  torsh [ Sun Sep 16, 2012 11:54 am ]
Post subject:  Re: API Problem

Try this before you create the GroovesharkClient and see if it works

ServicePointManager.ServerCertificateValidationCallback += delegate { return true; };
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

Author:  Xavon [ Sun Sep 16, 2012 2:12 pm ]
Post subject:  Re: API Problem

Thanks, it worked!

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/