Esempio n. 1
0
 /// <summary>
 /// Stream a media
 /// Access to this API is restricted under the terms of the Xbox Music API Pilot program (http://music.xbox.com/developer/pilot).
 /// </summary>
 /// <param name="client">An IXboxMusicClient instance to extend</param>
 /// <param name="id">Id of the media to be streamed</param>
 /// <returns>Stream response containing the url, expiration date and content type</returns>
 static public Task <StreamResponse> StreamAsync(this IXboxMusicClient client, string id)
 {
     return(client.StreamAsync(id, ClientInstanceId));
 }