WebSocketDatabaseProxyProperties.cs 517 B

123456789101112131415161718192021
  1. using InABox.Core;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace PRSServer
  6. {
  7. public class WebSocketDatabaseProxyProperties : DatabaseProxyProperties
  8. {
  9. [IntegerEditor]
  10. [EditorSequence(1)]
  11. public int ListenPort { get; set; }
  12. [EditorSequence(2)]
  13. [FileNameEditor("Certificate Files (*.pfx)|*.pfx")]
  14. public string CertificateFile { get; set; }
  15. public override ServerType Type() => ServerType.WebSocketProxy;
  16. }
  17. }