i way to sort out it...
now i am using Rtmpdup i run command to Download a piece of video and than if i am able to Download file so simply its mean than link is running
public string RtmpURL(String Url)
{
var currentLocation = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
string rtmpDump = Path.Combine(currentLocation, "Tool\\Rtmpdump\\rtmpdump.exe");
string filepath = Path.Combine(currentLocation, "Tool\\Rtmpdump\\temp.flv");
string Result;
string rtmpDumpArguments = " -v -r " + Url + " -o temp.flv -B 1";
Result = RunExternalExe(rtmpDump, rtmpDumpArguments);
var theFile = new FileInfo(filepath+"temp.flv");
if (theFile.Exists && Result == "yes")
{
File.Delete(filepath);
return "yes";
}
else
{
return "no";
}
<pre lang="c#"><pre lang="c#">