Command line options class for parsing user options for EchoSCU.
Inheritance Hierarchy
LaurelBridge.DCFExamples.EchoSCUOptions
Namespace: LaurelBridge.DCFExamples.EchoSCU
Assembly: EchoSCU (in EchoSCU.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
public class Options
The Options type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Options | Initializes a new instance of the Options class |
Properties
Name | Description | |
---|---|---|
Certificate |
Get X509Certificate2 from TlsCertificate pathname and TlsCertPassword
| |
CertificatePassword |
The client TLS certificate password.
| |
EnabledTlsProtocols |
Gets the TLS security protocols supported.
| |
Host |
The host of the Echo SCP.
| |
Port |
The port number on which to perform the FIND or MOVE.
| |
Tls10Enabled |
True to enable the TLS 1.0 protocol.
| |
Tls11Enabled |
True to enable the TLS 1.1 protocol.
| |
Tls12Enabled |
True to enable the TLS 1.2 protocol.
| |
TlsAllowSelfSigned |
Allow self signed certificates is the not of the command line option TlsRejectSelfSigned.
| |
TlsClientCertificate |
The TLS client certificate filename.
| |
TlsEnabled |
True to enable any TLS protocol, 1.0, 1.1, 1.2.
| |
TlsIgnoreCertificateNameMismatch |
Ignore certificate mismatch errors.
| |
TlsRejectSelfSigned |
Reject self-signed client certificates.
| |
TlsSendClientCertificate |
Do we send TLS client certificate.
|
Methods
Name | Description | |
---|---|---|
TryParse |
Try to create an instance of the Options class using the specified commandLine parameter.
For an invalid command line, a failure message is written to the console.
|
See Also