Click or drag to resize

TrustManagerCreatePeerTrust Method (Boolean, Boolean)

Creates a trust manager that establishes trust based on TrustedPeople system certificate store with configurable hostname verification.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public static TrustManager CreatePeerTrust(
	bool verifyHostname,
	bool useMachineContext
)

Parameters

verifyHostname
Type: SystemBoolean
Whether to perform hostname verification
useMachineContext
Type: SystemBoolean
Whether to use machine context instead of user's for certificate stores

Return Value

Type: TrustManager
An instance of TrustManager
See Also