Table of Contents

Method AppendMetadata

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

AppendMetadata(IMongoClient, LibraryInfo)

Appends the specified library information to the metadata sent to the server in the connection handshake. Only connections opened after this call are affected.

public static void AppendMetadata(this IMongoClient client, LibraryInfo libraryInfo)

Parameters

client IMongoClient

The client.

libraryInfo LibraryInfo

The library information to append.