namespace MediaBrowser.Controller.Dlna
{
public class DeviceIdentification
{
///
/// Gets or sets the name of the friendly.
///
/// The name of the friendly.
public string FriendlyName { get; set; }
///
/// Gets or sets the model number.
///
/// The model number.
public string ModelNumber { get; set; }
///
/// Gets or sets the serial number.
///
/// The serial number.
public string SerialNumber { get; set; }
///
/// Gets or sets the name of the model.
///
/// The name of the model.
public string ModelName { get; set; }
///
/// Gets or sets the model description.
///
/// The model description.
public string ModelDescription { get; set; }
///
/// Gets or sets the device description.
///
/// The device description.
public string DeviceDescription { get; set; }
///
/// Gets or sets the model URL.
///
/// The model URL.
public string ModelUrl { get; set; }
///
/// Gets or sets the manufacturer.
///
///
/// The manufacturer.
///
public string Manufacturer { get; set; }
///
/// Gets or sets the manufacturer URL.
///
/// The manufacturer URL.
public string ManufacturerUrl { get; set; }
///
/// Gets or sets the headers.
///
/// The headers.
public HttpHeaderInfo[] Headers { get; set; }
public DeviceIdentification()
{
Headers = new HttpHeaderInfo[] {};
}
}
public class HttpHeaderInfo
{
public string Name { get; set; }
public string Value { get; set; }
public HeaderMatchType Match { get; set; }
}
public enum HeaderMatchType
{
Equals = 0,
Regex = 1,
Substring = 2
}
}