我开发了一个应用并在我的设备上测试它。
var webClient = new WebClient ();
webClient.DownloadDataCompleted+= (object sender, DownloadDataCompletedEventArgs e) =>
{
var bytes=e.Result;
string documentsPath=System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyMusic);
string localFilename=Intent.GetStringExtra("title").Replace("_","");
string localPath=Path.Combine(documentsPath,localFilename);
File.WriteAllBytes(localPath,bytes);
};

我总是在documentsPath上得到null。如何将文件保存到设备(.mp3)