views:

19

answers:

0

Hi,

I have a problem with control Windows Media Player.Well, when i assign to URL property an url from secured localization (Basic atuhentication) I received a box to enter your login and password. Can it be overcome so that I pass login and password from code and user does not have to. On systems earlier than Windows 7 I had it done so that the authentification was done by the WebBrowser control and implementation of IAuthenticate interface which description can be found:

here

after authentication by the browser control in the event OnNavigated opened the file from a secure location and everything worked for previous versions of Windows. Probably session was kept and Windows Media Player control can connect to a file in a secure location without a username and password. In Windows 7 browser control authentication works, but an appeal to a secure location by WMP displays a dialog to enter username and password.

Does anyone have an idea what has changed in Windows 7 that WMP control works differently? Or how to do it differently does not have to enter user name and password, and to be able to play WMP files. Asf from secured location.