Grab Live Stream and Use Third Party program to Play it

Would you know how to include this in non-web based program? Like a desktop client program?