Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Windows Media Player has a play to feature that can send video files to a client device which start playing. I was wondering if anyone has a starting point to replicate this feature in c#?
If you want to push a video to a DMR client (Digital Media Renderer), then you need to implement UPNP / DLNA control point (DMC) and also you need to have a Digital Media Server (DMS) which host that video file.
For a starting point in C# you can take a look at UPNP / DLNA tools and libraries developed by Intel at following link,
http://opentools.homeip.net/dev-tools-for-upnp
I hope it helps.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Exists a way of request a device for his coordinates from the server code (Ex: C# .NET)?
Your question is unclear. You need to clarify on what platform you want. Perhaps you are getting things mixed up.
Do you really mean to run a server on an iPhone using C# code?!? I don't know anyone who's coded a webserver for an iPhone in C#, if that's what you really mean. (But it is possible for someone or a team to do this.)
But more likely you mean you want a C# webpage, running on a webserver to get a client's device coordinates, where the client device is an iPhone. But in this case, I don't believe C# has much to do with it, because this would be the webpage which would do the request, which would be HTML and JavaScript, not C#.
i think what Edward means is "No". :P
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I realise I haven't researched this much, but I was hoping someone could point me in the right direction please.
I'm building a C# application, and I want it to open a youtube song when the user requests it.
Does anyone know how to send a search request to the youtube page and get C# to play the first song that comes up?
You should start your research from youtube api documentation: https://developers.google.com/youtube/v3/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm using User Stream and Instead of pull-to-refresh to check for new tweets or waiting for the 5 minute auto-refresh to take place, I want tweets appear instantly in timeline as they are published.
I'm using TweetSharp with Xamarin.IOS
Any Code Sample will help a lot even if with other Programing Lang
I can't really help you with the Xamarin part of it, since I haven't used any of the Xamarin tools, but you want to use the Streaming part of TweetSharp to handle this. See this section for the classes you'll probably want to use:
https://github.com/danielcrenna/tweetsharp/blob/master/src/TweetSharp/TwitterService.Streaming.cs
Here is a code sample of using streaming in TweetSharp: https://gist.github.com/kensykora/8005935
See the official twitter docs on their streaming here: https://dev.twitter.com/docs/streaming-apis
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
Is there any specific api or sdk with help of which I can stream data from a webserver.
I dont want to use webview to show youtube like feature. But direct streaming without webview?
Thanks for any response
That's super easy, just use a MediaElement and put the address of your video in the Source property, like this:
<MediaElement Source="http://media.ch9.ms/ch9/70b1/b49fa0ce-5112-4852-a178-66dda70b70b1/MakerFaire2013NYCEWB_high.mp4" />
That's all! Now you can stream any video.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm writing a c# app (.Net 4.5) to download files from an ftp server.
I would like, now, to be able to set a maximum download speed.
I can't configure the server, so I will have to do it in the client.
Could anyone explain me how to do so ?
Thanks !
Assuming you have the source code for the ftp client, you do this by transfer chunks of data, comparing the transfer rate compared to your desired limit rate and inserting delays if the transfer is going too fast. See How can I rate limit an upload using TcpClient? for proof of concept code