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

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
Back
Top