aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Plugins.Dlna/Configuration/PluginConfiguration.cs
blob: 47a56c9cf501096f7917b8a7b46ab14875a09c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using MediaBrowser.Model.Plugins;

namespace MediaBrowser.Plugins.Dlna.Configuration
{
    /// <summary>
    /// Class PluginConfiguration
    /// </summary>
    public class PluginConfiguration : BasePluginConfiguration
    {
        /// <summary>
        /// Gets or sets the friendly name of the DLNA Server.
        /// </summary>
        /// <value>The friendly name of the DLNA Server.</value>
        public string FriendlyDlnaName { get; set; }

        /// <summary>
        /// Gets or sets the Port Number for the DLNA Server.
        /// </summary>
        /// <value>The Port Number of the DLNA Server.</value>
        public short? DlnaPortNumber { get; set; }

        /// <summary>
        /// Gets or sets the name of the user to impersonate.
        /// </summary>
        /// <value>The name of the User.</value>
        public string UserName { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="PluginConfiguration" /> class.
        /// </summary>
        public PluginConfiguration()
            : base()
        {
            //this.DlnaPortNumber = 1845;
            this.FriendlyDlnaName = "MB3 UPnP";
            this.UserName = string.Empty;
        }
    }
}