Vikrant
Vikrant

Reputation: 147

Read file from blob url container

Below is my blob url where my word file is located, and I want to read the file and show its content in my web form(C#).

https://vikranttest.blob.core.windows.net/Vikrantproduction/applicationeulaVikrant/vikky.rtf

Upvotes: 0

Views: 5602

Answers (1)

Haedrian
Haedrian

Reputation: 4328

WebClient client = new WebClient();
string fileString = client.DownloadString(new uri(http://.....)));

Now if you put that string into a rtf box it should keep the formatting.

Upvotes: 2

Related Questions