Show / Hide Table of Contents

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 suppotr SSL.

Back to top Generated by DocFX