how to get the path of current playing media in kmplayer and winamp?
===

I want to write an application (with c#) that will began when the kmplayer or winamp starts playing a video, and that need to know the path of the video file, how can I do that?