SHARE
TWEET

Untitled

a guest Apr 18th, 2019 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  private void BtnStreamRecord_Click(object sender, RoutedEventArgs e)
  2.         {
  3.             var path = txtBoxStreamlinkPath.Text;
  4.  
  5.             Process p = new Process();
  6.             ProcessStartInfo info = new ProcessStartInfo();
  7.             info.FileName = path;
  8.             info.RedirectStandardInput = true;
  9.             info.UseShellExecute = false;
  10.  
  11.             p.StartInfo = info;
  12.             p.Start();
  13.  
  14.             using (StreamWriter sw = p.StandardInput)
  15.             {
  16.                 if (sw.BaseStream.CanWrite)
  17.                 {
  18.                     sw.WriteLine("streamlink https://edge169.stream.highwebmedia.com/live-hls/amlst:tsbaddiegirl-sd-e0a8ae41385e6ac0f5de86acfaa1405b1d1586844bc6cd3023cac9f38009b17d_trns_h264/playlist.m3u8 720p");
  19.                 }
  20.             }
  21.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top