using Microsoft.Win32;using System;using System.Net;using System.Windows;using System.Windows.Input;using NeteaseCloudMusicTool.DataClass;using System.Windows.Controls;using System.Windows.Media;namespace NeteaseCloudMusicTool{ /// <summary> /// MainWindow.xaml 的交互逻辑 /// </summary> public partial class MainWindow : Window { String jsonDetail = String.Empty; String jsonUrl = String.Empty; String id = String.Empty; String br = "320000"; //String sId = String.Empty; String sUrl = String.Empty; String sBr = String.Empty; String sName = String.Empty; //String sBitrate = String.Empty; String sArtist = String.Empty; String sAlbum = String.Empty; String sDuration = String.Empty; String directory = String.Empty; MediaPlayer player = new MediaPlayer(); public MainWindow() { InitializeComponent(); } private async void btnGetInfo_Click(object sender, RoutedEventArgs e) { if (txtId.Text == String.Empty) { MessageBox.Show("请输入ID"格林童话, "网易云音乐用具"); return; } if (txtId.Text.Trim().StartsWith("http") 哥也色格林童话