How to receive the name of song sounding in a WMP using C#?

G

Guest

How to receive the name of song, sounding in real time in a Windows Media
Player 10?
I tried to use Marshal.GetActiveObject("MediaPlayer.MediaPlayer"), but win
Windows Media Player it don't work.
I have received the Title of an open window of WMP 10, using
Win32.FindWindow() and then Win32.GetWindowText(), but Title of WMP don't
contain a name of current song, only this text: "Windows Media Player".
Thanks.
ps. I am sorry for bad knowledge of English language.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top