Class SsdpDeviceIcon
Represents an icon published by an SsdpDevice.
Inheritance
System.Object
SsdpDeviceIcon
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Rssdp
Assembly: cs.temp.dll.dll
Syntax
public sealed class SsdpDeviceIcon
Properties
ColorDepth
The colour depth of the image.
Declaration
public int ColorDepth { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Remarks
Required, must be greater than zero.
Height
The height of the image in pixels.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Remarks
Required, must be greater than zero.
MimeType
The mime type for the image data returned by the Url property.
Declaration
public string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
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).
See Also
Url
The URL that can be called with an HTTP GET command to retrieve the image data.
Declaration
public Uri Url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Uri |
Remarks
Required. May be relative to base URL. Specified by UPnP vendor. Single URL.
See Also
Width
The width of the image in pixels.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Remarks
Required, must be greater than zero.