SciLor's Open Source Forums

Also visit my Website!
It is currently Wed Sep 18, 2019 2:19 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: API Problem
PostPosted: Sat Sep 15, 2012 6:04 pm 
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?


Top
  
 
 
Online
The Adswinger

Joined: Wed Jan 13, 2010 11:56 pm
Posts: Too many!
Donated: Ad Posts


 Post subject: Re: API Problem
PostPosted: Sun Sep 16, 2012 11:54 am 
Try this before you create the GroovesharkClient and see if it works

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


Top
  
 
 Post subject: Re: API Problem
PostPosted: Sun Sep 16, 2012 2:12 pm 
Thanks, it worked!


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
template->_php_include(): File ./counter/foruminclude.php does not exist or is empty Powered by phpBB® Forum Software © phpBB Group