I just updated the old MongoDB C# drivers to `2.7.3` version and after updating it from nuget packages i got lot of errors line 

> 
> EnsureIndex is not defined
> 
> 
> 

and 

> 
> IndexExists not defined
> 
> 
> ping is not defined
> 
> 
> 

and 

> 
> getServer is not defined
> 
> 
> 

so is their and update document or documentation which will explain how to get these with a newer version.

```
var connectionString = string.Format("mongodb://{0}:{1}", mongoServerInstance.Address.Host, mongoServerInstance.Address.Port);
            connectionString = ReplaceHostNames(connectionString);
            _logger.Debug("checking for indexes on server, {0}", mongoServerInstance.Address.Host);
            var settings = MongoClientSettings.FromUrl(new MongoUrl(connectionString));
            settings.ConnectionMode = ConnectionMode.Direct;
            settings.ReadPreference = ReadPreference.SecondaryPreferred;
            var mongoClient = new MongoClient(settings);
            var listMongo = mongoClient.ListDatabases();
            var server = mongoClient.GetServer();

            foreach (var index in MongoRepositoryConfiguration.Indexes)
            {
                var mongoDataBase = mongoClient.GetDatabase(index.DatabaseName);

                if (!mongoClient.GetDatabase(index.DatabaseName)
                            .GetCollection<BsonDocument>(index.CollectionName)
                            .IndexExists(index.MongoIndexKeys))
                {
                    if (index.IndexName != "")
                    {
                        if (!mongoClient.GetDatabase(index.DatabaseName)
                                   .GetCollection<BsonDocument>(index.CollectionName)
                                   .IndexExistsByName(index.IndexName))
                        {
                            AddIndexToList(index, nonExistentIndexes);
                        }
                    }
                    else
                    {
                        AddIndexToList(index, nonExistentIndexes);
                    }
                }
            }

            server.Disconnect();

```