Method | Description | |
---|---|---|
AddToDiscoveryServerTrustList ( |
Adds the application certificate to the discovery server trust list.
|
|
ApplicationInstance ( ) : System |
Initializes a new instance of the ApplicationInstance class.
|
|
ApplicationInstance ( ApplicationConfiguration applicationConfiguration ) : System |
Initializes a new instance of the ApplicationInstance class.
|
|
CheckApplicationInstanceCertificate ( bool silent, ushort minimumKeySize ) : void |
Checks for a valid application instance certificate.
|
|
GetHttpUrlForAccessRule ( string baseAddress ) : string |
Gets the HTTP URL to use for HTTP access rules.
|
|
LoadAppConfig ( bool silent, string filePath, ApplicationType applicationType, |
Loads the configuration.
|
|
LoadApplicationConfiguration ( bool silent ) : ApplicationConfiguration |
Loads the application configuration.
|
|
LoadApplicationConfiguration ( string filePath, bool silent ) : ApplicationConfiguration |
Loads the application configuration.
|
|
LoadInstallConfig ( string configFile ) : void |
Loads the installation configuration.
|
|
LoadInstallConfigFromFile ( string filePath ) : |
Loads the installation configuration from a file.
|
|
LoadInstallConfigFromResource ( string resourcePath, |
Loads the installation configuration from an embedded resource.
|
|
LoadInstallConfigFromStream ( Stream istrm ) : |
Loads the installation configuration from a stream.
|
|
ProcessCommandLine ( ) : bool |
Processes the command line.
|
|
ProcessCommandLine ( bool ignoreUnknownArguments ) : bool |
Processes the command line.
|
|
SetUaValidationForHttps ( CertificateValidator validator ) : void |
Uses the UA validation logic for HTTPS certificates.
|
|
Start ( ServerBase server ) : void |
Starts the UA server.
|
|
StartAsService ( ServerBase server ) : void |
Starts the UA server as a Windows Service.
|
|
Stop ( ) : void |
Stops the UA server.
|
Method | Description | |
---|---|---|
GetArgumentDescriptions ( ) : ArgumentDescription[] |
Gets the descriptions for the supported arguments.
|
|
GetHelpString ( ArgumentDescription commands ) : string |
Gets the help string.
|
|
Install ( bool silent, string>.Dictionary |
Installs the service.
|
|
OnBeforeInstallService ( ) : void |
Called immediately before the service is installed.
|
|
ProcessCommand ( bool silent, string>.Dictionary |
Processes the command.
|
|
Uninstall ( bool silent, string>.Dictionary |
Uninstalls the service.
|
|
UpdateAppConfigWithInstallConfig ( ApplicationConfiguration configuration ) : void |
Updates the application configuration with the values from the installation configuration.
|
|
ValidateArguments ( bool ignoreUnknownArguments, string>.Dictionary |
Validates the arguments.
|
Method | Description | |
---|---|---|
AddApplicationCertificateToStore ( CertificateStoreIdentifier csid, |
Adds an application certificate to a store.
|
|
AddIssuerCertificatesToStore ( CertificateStoreIdentifier csid, IList |
Adds an application certificate to a store.
|
|
AddToTrustedStore ( ApplicationConfiguration configuration, |
Adds the certificate to the Trusted Certificate Store
|
|
CertificateValidator_CertificateValidation ( CertificateValidator validator, CertificateValidationEventArgs e ) : void |
Handles a certificate validation error.
|
|
CheckApplicationInstanceCertificate ( ApplicationConfiguration configuration, |
Creates an application instance certificate if one does not already exist.
|
|
CheckDomainsInCertificate ( ApplicationConfiguration configuration, |
Checks that the domains in the server addresses match the domains in the certificates.
|
|
ConfigureFileAccess ( ApplicationConfiguration configuration ) : void |
Configures access to the executable, the configuration file and the private key.
|
|
ConfigureFirewall ( ApplicationConfiguration configuration, bool silent, bool remove ) : void |
Configures the firewall.
|
|
ConfigureHttpAccess ( ApplicationConfiguration configuration, bool remove ) : void |
Configures the HTTP access.
|
|
CreateApplicationInstanceCertificate ( ApplicationConfiguration configuration, ushort keySize, ushort lifetimeInMonths ) : |
Creates the application instance certificate.
|
|
DeleteApplicationInstanceCertificate ( ApplicationConfiguration configuration ) : void |
Deletes an existing application instance certificate.
|
|
GetAccessRules ( ) : List |
Gets the access rules to use for the application.
|
|
HttpsCertificateValidation ( object sender, |
Remotes the certificate validate.
|
|
SetHttpAccessRules ( string url, bool remove ) : void |
Sets the HTTP access rules for the URL.
|
public static AddToDiscoveryServerTrustList ( |
||
certificate | ||
oldThumbprint | string | |
issuers | IList |
|
trustedCertificateStore | CertificateStoreIdentifier | |
return | void |
public ApplicationInstance ( ApplicationConfiguration applicationConfiguration ) : System | ||
applicationConfiguration | ApplicationConfiguration | The application configuration. |
return | System |
public CheckApplicationInstanceCertificate ( bool silent, ushort minimumKeySize ) : void | ||
silent | bool | if set to |
minimumKeySize | ushort | Minimum size of the key. |
return | void |
protected GetArgumentDescriptions ( ) : ArgumentDescription[] | ||
return | ArgumentDescription[] |
protected GetHelpString ( ArgumentDescription commands ) : string | ||
commands | ArgumentDescription | |
return | string |
public static GetHttpUrlForAccessRule ( string baseAddress ) : string | ||
baseAddress | string | |
return | string |
protected Install ( bool silent, string>.Dictionary |
||
silent | bool | if set to |
args | string>.Dictionary | Additional arguments provided on the command line. |
return | void |
public static LoadAppConfig ( bool silent, string filePath, ApplicationType applicationType, |
||
silent | bool | |
filePath | string | |
applicationType | ApplicationType | |
configurationType | ||
applyTraceSettings | bool | |
return | ApplicationConfiguration |
public LoadApplicationConfiguration ( bool silent ) : ApplicationConfiguration | ||
silent | bool | |
return | ApplicationConfiguration |
public LoadApplicationConfiguration ( string filePath, bool silent ) : ApplicationConfiguration | ||
filePath | string | |
silent | bool | |
return | ApplicationConfiguration |
public LoadInstallConfig ( string configFile ) : void | ||
configFile | string | The config file (may be null). |
return | void |
public LoadInstallConfigFromFile ( string filePath ) : |
||
filePath | string | |
return |
public LoadInstallConfigFromResource ( string resourcePath, |
||
resourcePath | string | |
assembly | ||
return |
public LoadInstallConfigFromStream ( Stream istrm ) : |
||
istrm | Stream | |
return |
protected ProcessCommand ( bool silent, string>.Dictionary |
||
silent | bool | if set to |
args | string>.Dictionary | Additional arguments provided on the command line. |
return | bool |
public ProcessCommandLine ( bool ignoreUnknownArguments ) : bool | ||
ignoreUnknownArguments | bool | if set to |
return | bool |
public static SetUaValidationForHttps ( CertificateValidator validator ) : void | ||
validator | CertificateValidator | The validator. |
return | void |
public Start ( ServerBase server ) : void | ||
server | ServerBase | The server. |
return | void |
public StartAsService ( ServerBase server ) : void | ||
server | ServerBase | The server. |
return | void |
protected Uninstall ( bool silent, string>.Dictionary |
||
silent | bool | if set to |
args | string>.Dictionary | Additional arguments provided on the command line. |
return | void |
protected UpdateAppConfigWithInstallConfig ( ApplicationConfiguration configuration ) : void | ||
configuration | ApplicationConfiguration | The configuration to update. |
return | void |
protected ValidateArguments ( bool ignoreUnknownArguments, string>.Dictionary |
||
ignoreUnknownArguments | bool | |
args | string>.Dictionary | |
return | string |