LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlDataSourceBuilder.UseClientCertificatesCallback method

Sets the callback used to provide client certificates for connecting to a server.

public MySqlDataSourceBuilder UseClientCertificatesCallback(
    Func<X509CertificateCollection, ValueTask>? callback)
parameterdescription
callbackThe callback that will provide client certificates. The X509CertificateCollection provided to the callback should be filled with the client certificate(s) needed to connect to the server.

Return Value

This builder, so that method calls can be chained.

See Also