A small sample on using Cognitive Services to extract text from image
In order to run, you will need to change Cognitive Service Key and Endpoint.
client = new VisionServiceClient(
"{YOUR-API-KEY}",
"{YOUR-ENDPOINT-URL}");