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