roadie/Roadie.Api.Library/Configuration/Dlna.cs

29 lines
662 B
C#
Raw Normal View History

2019-09-05 02:04:20 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Roadie.Library.Configuration
{
[Serializable]
public class Dlna : IDlna
{
public bool IsEnabled { get; set; }
public int? Port { get; set; }
public string FriendlyName { get; set; }
public string Description { get; set; }
public IEnumerable<string> AllowedIps { get; set; } = new string[0];
public IEnumerable<string> AllowedUserAgents { get; set; } = new string[0];
2019-09-05 02:04:20 +00:00
public Dlna()
{
IsEnabled = true;
FriendlyName = "Roadie Music Server";
}
}
}