Table of Contents

Method WithUserAgent

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

WithUserAgent(string)

Sets the userAgent. Used to get and set the User Agent string. If not used the default will be "neo4j-dotnet/x.y" where x is the major version and y is the minor version.

public ConfigBuilder WithUserAgent(string userAgent)

Parameters

userAgent string

The user agent string

Returns

ConfigBuilder

A ConfigBuilder instance for further configuration options.