jellyfin-server/MediaBrowser.Controller/Dlna/IDeviceDiscovery.cs

21 lines
553 B
C#
Raw Normal View History

2015-07-23 16:32:34 +00:00
using System;
2016-09-11 07:33:53 +00:00
using System.Collections.Generic;
using System.Net;
using MediaBrowser.Model.Events;
2015-07-23 16:32:34 +00:00
namespace MediaBrowser.Controller.Dlna
{
public interface IDeviceDiscovery
{
2016-09-11 07:33:53 +00:00
event EventHandler<GenericEventArgs<UpnpDeviceInfo>> DeviceDiscovered;
event EventHandler<GenericEventArgs<UpnpDeviceInfo>> DeviceLeft;
}
public class UpnpDeviceInfo
{
public Uri Location { get; set; }
public Dictionary<string, string> Headers { get; set; }
public IPEndPoint LocalEndPoint { get; set; }
2015-07-23 16:32:34 +00:00
}
}