'How to get the percentage of the predicted labels in Azure Custom Vision?

I'm using Azure Custom Vision to build an app, that will tell me if an object is defect or not. For that i've trained a model with the Custom Vision website. The Training is done and the model ready. When i upload a picture of the object, i get predicted labels with percentage of the components in the picture. My question is now: How i can get the data of this percentage, to work with that? I need them to implement in Visual Studio, so i can write my C#-code, to let the ai make the decision wheter the object is defect or not.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source