This shows how easy it is (under 10 lines including some error checking!) to get a list of tracks on your iPod:
IPod iPod = null;
try
{
IPod iPod = SharePod.GetConnectediPod();
}
catch (BaseSharePodException ex)
{
MessageBox.Show(ex.Message);
return;
}
foreach (Track track in iPod.Tracks)
{
Debug.WriteLine(String.Format("{0} - {1} - {2}",
track.Title, track.Artist, track.Album);
}
1 comment:
Please can you add photo support!!
Post a Comment