CruelIO
CruelIO

Reputation: 18634

Mediaplayer in c# windows application

I have added and mediaplayer control to my c# application, and I can make it play a .wma song. My problem is that i want to see if the player is playing. Is there an event that I can use? Or is it a way I can see for how many seconds a song has been playing?

Upvotes: 1

Views: 951

Answers (1)

JP Alioto
JP Alioto

Reputation: 45127

Yes, you can check the PlayState property or handle the PlayStateChange event.

Upvotes: 1

Related Questions