Furkan Gözükara
Furkan Gözükara

Reputation: 23820

How to download iframe video with C#

for example how can i download this kind of url video

<iframe src="/neo/stats/dlcount_iframe.php?movie_id=708969&game_id=12830&type=flv&page=player&vidtype=flv&vidhd=1" width="1" height="1" scrolling="no" frameborder="0"></iframe>

using microsoft visual studio 2010 C# netframework 4.0

Upvotes: 1

Views: 6790

Answers (1)

David
David

Reputation: 73564

You don't. They use streaming to prevent downloading of material. if they wanted you do download your own copy, they'd provide it as an MPEG. .mov, .wmv, or some other type of file.

Even if you can, you'd be violating copyright laws. Like I said, if they WANTED you do do it, they'd provide a method. Any use of the video other than what the owner intends for it is a violation of copyright, even if the Internet makes copyright infringement easy in most cases.

Edit

Downloading a file is very straightforward. There's an article here: http://www.csharp-examples.net/download-files/

and an example with specifyng the name on your PC here: http://msdn.microsoft.com/en-us/library/ez801hhe.aspx

Upvotes: 1

Related Questions