We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
mac m.6
10 years agoExplorer | Level 4
media link for streaming, in .net, on api 2?
I'm writing an app to play media file streamed off dropbox. I'm using the official .Net SDK, and API v2. I'm generating my media link using client.Sharing in the SDK, but the file doesn't seem to str...
Greg-DB
Dropbox Community Moderator
10 years agoThe shared links you can retrieve using the SDK in the Sharing namespace, e.g., CreateSharedLinkWithSettingsAsync, are meant for sharing links to others users. These links don't return the file content directly.
If you just need to stream data to a media player, you should instead use GetTemporaryLinkAsync. That will give you a direct link to the file content you can use to stream the file in your media player.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!