Click or drag to resize

ConfigBuilderWithUserAgent Method

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.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.2.0
public ConfigBuilder WithUserAgent(
	string userAgent


Type: SystemString
The user agent string

Return Value

Type: ConfigBuilder
An ConfigBuilder instance for further configuration options.
See Also