Please upgrade the samples to use .NET Framework 4.6.2 or above. The connection to cognitive services endpoint fails because the program is trying to use TLS 1.0.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@ojasp
Thanks for the feedback! We are currently investigating and will update you shortly.
@PatrickFarley Please update with proper samples. Thanks!
Hi @ojasp, which sample(s) are you referring to?
Hi @ojasp, which sample(s) are you referring to?
The ones under _Rest API Samples in C#_ , the direct urls to github is https://github.com/MicrosoftContentModerator/ContentModerator-API-Samples
Reaching out to the dev team to get these samples updated
@YutongTie-MSFT Please reassign this issue to the product team, as it is not a doc issue. The PM has been looped in on the plans to update the samples.
@PatrickFarley Hi Patrick, could you please let me know who is the right person to assign? Thanks.
The team has created a work item to update the samples - https://msazure.visualstudio.com/Cognitive%20Services/_workitems/edit/8285875 So we can close this issue now.