using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Rssdp { /// /// Represents an icon published by an . /// public sealed class SsdpDeviceIcon { /// /// The mime type for the image data returned by the property. /// /// /// Required. Icon's MIME type (cf. RFC 2045, 2046, and 2387). Single MIME image type. At least one icon should be of type “image/png” (Portable Network Graphics, see IETF RFC 2083). /// /// public string MimeType { get; set; } /// /// The URL that can be called with an HTTP GET command to retrieve the image data. /// /// /// Required. May be relative to base URL. Specified by UPnP vendor. Single URL. /// /// public Uri Url { get; set; } /// /// The width of the image in pixels. /// /// Required, must be greater than zero. public int Width { get; set; } /// /// The height of the image in pixels. /// /// Required, must be greater than zero. public int Height { get; set; } /// /// The colour depth of the image. /// /// Required, must be greater than zero. public int ColorDepth { get; set; } } }