| 12345678910111213141516171819202122232425262728293031323334353637383940414243 | using InABox.Core;namespace PRSServer{    public class WebServerProperties : ServerProperties    {        public WebServerProperties()        {            ListenPort = 7998;            MaxFileSize = 15;            LoginExpiry = 1;        }        [ComboLookupEditor(typeof(DatabaseServerLookupGenerator))]        [EditorSequence(1)]        public string Server { get; set; }        [IntegerEditor]        [EditorSequence(2)]        public int ListenPort { get; set; }        [IntegerEditor]        [EditorSequence(3)]        [Caption("Maximum File Transfer Size (MB)")]        public int MaxFileSize { get; set; }        [IntegerEditor]        [EditorSequence(4)]        [Caption("Login expiry time (Hours)")]        public int LoginExpiry { get; set; }        [EditorSequence(9)]        [FileNameEditor("Certificate Files (*.pfx)|*.pfx")]        public string CertificateFile { get; set; }        public override ServerType Type()        {            return ServerType.Web;        }    }}
 |