コード例 #1
0
 public async Task <Stream> StreamAsync()
 {
     using (var client = new VideoClient())
     {
         return(await client
                .StreamAsync(this)
                .ConfigureAwait(false));
     }
 }
コード例 #2
0
 public async Task <byte[]> GetBytesAsync()
 {
     using (var client = new VideoClient())
     {
         return(await client
                .GetBytesAsync(this)
                .ConfigureAwait(false));
     }
 }