SDK for Microsoft CognitiveServices Content Moderator
C# Batchfile
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Microsoft Content Moderator API: Windows Client Library

This repo contains the Windows client library & sample for the Microsoft Content Moderator API, part of Microsoft Cognitive Services.

The Client Library

The client library is a thin C# client wrapper for the Content Moderator API.

Build the Library

  1. Starting in the folder where you clone the repository (this folder)

  2. Start Microsoft Visual Studio 2015 and select File > Open > Project/Solution.

  3. Double-click the Visual Studio 2015 Solution (.sln) file.

  4. Press Ctrl+Shift+B, or select Build > Build Solution.

You run the Unit Tests to test the Client Library.

Microsoft will receive the images you upload and may use them to improve the Content Moderator API and related services. By submitting an image, you confirm you have consent from everyone in it.


We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.

You can reach out to us anytime with questions and suggestions using our communities below:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.


All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see LICENSE.

Sample images are licensed separately, please refer to LICENSE-IMAGE.

Developer Code of Conduct

Developers using Cognitive Services, including this client library & sample, are expected to follow the “Developer Code of Conduct for Microsoft Cognitive Services”, found at