How to access the Windows Media Player Library programmatically in C # / WPF?

I need to access and submit information from a Windows Media Player library from my C # / WPF application.
How to do this programmatically in C # / WPF?

+3
source share
2 answers

It may lead you to the right path.

SDK for Windows Media Player

+1
source

This is a bit of a cop ...

SDK is a huge question ... how about a sample?

EDIT: 1 in 2:

, : "Windows Media Player SDK" , "Windows SDK", ...

: http://msdn.microsoft.com/en-us/library/dd563069(v=VS.85).aspx

: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6B6C21D2-2006-4AFA-9702-529FA782D63B

-, (, , Silverlight -)

2 2:

WMP SDK , "WMPLib", com , , , :)

, ...

WMPlib.WindowsMediaPlayer wmpInstance = new WMPlib.WindowsMediaPlayer();
IWMPMediaCollection lib = wmpInstance.mediaCollection;

... lib.GetAll() -:)

...

:)!!!

+5

Source: https://habr.com/ru/post/1727774/


All Articles