Enum SslMode
Specifies how to manage SSL.
Namespace: Npgsql
Assembly: Npgsql.dll
Syntax
public enum SslMode
Fields
Name | Description |
---|---|
Disable | SSL is disabled. If the server requires SSL, the connection will fail. |
Prefer | Prefer SSL connections if the server allows them, but allow connections without SSL. |
Require | Fail the connection if the server doesn't support SSL. |