Enum SslMode
- Namespace
- Npgsql
- Assembly
- Npgsql.dll
Specifies how to manage SSL.
public enum SslMode
Fields
Disable = 0SSL is disabled. If the server requires SSL, the connection will fail.
Prefer = 1Prefer SSL connections if the server allows them, but allow connections without SSL.
Require = 2Fail the connection if the server doesn't suppotr SSL.