Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BackgroundWorker bw = new BackgroundWorker();
- bw.DoWork += new DoWorkEventHandler(
- delegate(object o, DoWorkEventArgs arg)
- {
- using (NamedPipeServerStream PipeServer = new NamedPipeServerStream("intromus", PipeDirection.Out))
- {
- PipeServer.WaitForConnection();
- PipeServer.Write(Properties.Resources.intromus, 0, Properties.Resources.intromus.Length);
- }
- });
- bw.RunWorkerAsync();
- vlcPlayMedia("stream://\\\\\\.\\pipe\\intromus",true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement