I want to show Dropbox image files in an ASP.NET image control using the Core API in C#. I'm populating the dropbox image file using the below code:
RequestResult strReq = OAuthUtility.Get
(
"https://api.dropbox.com/1/metadata/auto/",
new HttpParameterCollection
{
{ "path", "FilePath" },
{ "access_token", "AccessToken" }
}
);
Suppose there is an image control on the .aspx page
<asp:Image id="Image1" runat="server">
and I want to display the Dropbox image file on this control.
HttpHandler. The Dropbox part of this should be no different from using any other content for the image.