UseSNI

This property specifies whether to use Server Name Indication (SNI).

Declaration

// C#
bool UseSNI { get; set;}

Property Type

System.Boolean

Remarks

Default is false. False disables using SNI.

When UseSNI is set to true, the following configuration rules must be obeyed. Any deviation will disable SNI automatically.

  • Only the following CONNECT_DATA names can be used.

    • ServiceName

    • Server

    • InstanceName

    • ColocationTag

  • The CONNECT_DATA name values can only contain alphanumeric, underscore, hyphen, or period characters.

  • No more than two consecutive period characters

  • No hyphen character before or after a period

  • No hyphen at the beginning or end of the CONNECT_DATA name values above

  • No period at the beginning or end of the CONNECT_DATA name values above