Forum Xamarin.Android

How to play password protected mp3 song in


I want to play password protected mp3 song in

currently i am using :


I have also tried to add headers :

CrossMediaManager.Current.RequestHeaders = new Dictionary<string, string> {{"username","password"}};

But nothing works for me when i hit this request in browser it prompt me for username and password but in the app it is giving me error . So, anyone who have worked with password protect mp3 song in can give me any hint how can i play password protected mp3 songs in media player?


Sign In or Register to comment.