Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-5088

Set UseTLS=true when using MongoDBPlusSrv scheme

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Dotnet Drivers

      MongoClientSettings should match the behavior of ConnectionString.

      UseTLS should be bool? so both variations are equivalent:

      var settings1 = new MongoClientSettings {
          Scheme = ConnectionStringScheme.MongoDBPlusSrv,
          UseTls = false
      };
      var settings2 = new MongoClientSettings {
          UseTls = false,
          Scheme = ConnectionStringScheme.MongoDBPlusSrv
      };
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            boris.dogadov@mongodb.com Boris Dogadov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: