using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GreenTree.Nachtragsmanagement.Core.Configuration
{
public class AppendixConfigurationSection : ConfigurationSection
{
///
/// The anonymous user used by the Microsoft IIS, so the application can differ the anonymous user from
/// real domain users
///
[ConfigurationProperty("iisAnonymousUser", DefaultValue = "IUSR", IsRequired = false)]
public string IISAnonymousUser
{
get
{
return (string)this["iisAnonymousUser"];
}
set
{
this["iisAnonymousUser"] = value;
}
}
///
/// The URL of the webservice providing updates for that application
///
[ConfigurationProperty("checkUpdateUrl", IsRequired = false)]
public string CheckUpdateUrl
{
get
{
return (string)this["checkUpdateUrl"];
}
set
{
this["checkUpdateUrl"] = value;
}
}
///
/// The path of the directory where update packages should be stored
///
[ConfigurationProperty("updateStorePath", IsRequired = false)]
public string UpdateStorePath
{
get
{
return (string)this["updateStorePath"];
}
set
{
this["updateStorePath"] = value;
}
}
///
/// Settings for mailserver handling
///
[ConfigurationProperty("mailServer")]
public MailServerElement MailServerElement
{
get
{
return (MailServerElement)this["mailServer"];
}
set
{
this["mailserver"] = value;
}
}
///
/// Settings for LDAP server handling
///
[ConfigurationProperty("ldapServer")]
public LdapServerElement LdapServerElement
{
get
{
return (LdapServerElement)this["ldapServer"];
}
set
{
this["ldapServer"] = value;
}
}
}
}