2
0

DlnaIconResponse.cs 445 B

12345678910111213141516171819202122
  1. using MediaBrowser.Controller.Drawing;
  2. using System;
  3. using System.IO;
  4. namespace MediaBrowser.Controller.Dlna
  5. {
  6. public class DlnaIconResponse : IDisposable
  7. {
  8. public Stream Stream { get; set; }
  9. public ImageFormat Format { get; set; }
  10. public void Dispose()
  11. {
  12. if (Stream != null)
  13. {
  14. Stream.Dispose();
  15. Stream = null;
  16. }
  17. }
  18. }
  19. }