News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
I have used https://service.ringcentral.com/faxapi.asp. It raised upgrade your browser error. Couldn't send the fax viia API in C#
Tags: rest api
Mar 25, 2016 at 5:32am   •   2 replies  •  0 likes
suriyakani-b

I have used https://service.ringcentral.com/faxapi.asp. It raised upgrade your browser error. Couldn't send the fax viia API in C#

2 Answers
answered on Mar 25, 2016 at 11:27pm  
I am using the below code. Can you help me what should do change here?

Dictionary<string, object> postParameters = new Dictionary<string, object>();            postParameters.Add("Username", ConfigurationManager.AppSettings["FaxAPIUserName"]);
            postParameters.Add("Password", ConfigurationManager.AppSettings["FaxAPIPassword"]);
            postParameters.Add("Recipient", "1"+BillFax+"");
            postParameters.Add("Coverpage", "0");
            postParameters.Add("Coverpagetext", "JLC Invoice");
            postParameters.Add("Resolution", ConfigurationManager.AppSettings["FaxResolution"]);
            postParameters.Add("Attachment", new FormUpload.FileParameter(data, "invoice.pdf", "application/pdf"));

            // Create request and receive response
            string postURL = ConfigurationManager.AppSettings["FaxAPIUrl"];
            string userAgent = "JLC";
            HttpWebResponse webResponse = FormUpload.MultipartFormDataPost(postURL, userAgent, postParameters);


Please help me regarding this. 

I tried the c# sdk but it cannot support my project. It raised some exception.

 0
answered on Mar 25, 2016 at 9:47am  

Hi there. You are currently using our legacy fax API which was recently upgraded to require TLS 1.2 for security purposes. The error you are receiving indicates that your system does not support TLS 1.2. Please see our Knowledge Base article 8778 on how to resolve this:


TLS 1.2 KB Article: https://support.ringcentral.com/article/8778.html


Additionally, you may want to consider upgrading to our new API which you can learn about at https://developers.ringcentral.com.


We also have a C# SDK available for the new API:


C# SDK on GitHub: https://github.com/ringcentral/ringcentral-csharp

C# SDK on NuGet: http://www.nuget.org/packages/RingCentralSDK


 1



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us