mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 19:08:53 -07:00
21 lines
553 B
C#
21 lines
553 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Net;
|
|
using MediaBrowser.Model.Events;
|
|
|
|
namespace MediaBrowser.Controller.Dlna
|
|
{
|
|
public interface IDeviceDiscovery
|
|
{
|
|
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; }
|
|
}
|
|
}
|