C# 클래스 FoundationDB.Client.Fdb.Options

Global settings for the FoundationDB binding
파일 보기 프로젝트 열기: BedeGaming/foundationdb-dotnet-client

공개 프로퍼티들

프로퍼티 타입 설명
NativeLibPath string
TracePath string

공개 메소드들

메소드 설명
DisableNativeLibraryPreloading ( ) : void

Disable preloading of the native C API library. The CLR will handle the binding of the library.

This *must* be called before the start of the network thread, otherwise it won't have any effects.

EnableNativeLibraryPreloading ( ) : void

Enable automatic preloading of the native C API library. The operating system will handle the binding of the library

This *must* be called before the start of the network thread, otherwise it won't have any effects.

SetNativeLibPath ( string path ) : void

Preload the native C API library from a specifc path (relative of absolute) where the fdb_c.dll library is located

This *must* be called before the start of the network thread, otherwise it won't have any effects. You can specify the path to a library with a custom file name by making sure that path ends with ".dll". If not, then "fdb_c.dll" will be appended to the path.

SetTLSCertificate ( Slice bytes ) : void

Sets the path to the root certificate and public key for TLS connections

This *must* be called before the start of the network thread, otherwise it won't have any effects.

SetTLSCertificate ( string path ) : void

Sets the path to the root certificate and public key for TLS connections

This *must* be called before the start of the network thread, otherwise it won't have any effects.

SetTLSPlugin ( string name ) : void

Set the file path or linker-resolved name of the custom TLS plugin to load.

SetTLSPrivateKey ( Slice bytes ) : void

Sets the path to the private key for TLS connections

This must be called before the start of the network thread, otherwise it won't have any effects.

SetTLSPrivateKey ( string path ) : void

Sets the path to the private key for TLS connections

This must be called before the start of the network thread, otherwise it won't have any effects.

SetTlsVerificationPattern ( Slice pattern ) : void

Sets the pattern with wich to verify certificates of TLS peers

This must be called before the start of the network thread, otherwise it won't have any effects.

SetTracePath ( string outputDirectory ) : void

Sets the custom path where the logs will be stored

This *must* be called before the start of the network thread, otherwise it won't have any effects.

UseTLS ( Slice certificateBytes, Slice privateKeyBytes, Slice verificationPattern = default(Slice), string plugin = null ) : void

Use TLS to secure the connections to the cluster

UseTLS ( string certificatePath, string privateKeyPath, Slice verificationPattern = default(Slice), string plugin = null ) : void

Use TLS to secure the connections to the cluster

메소드 상세

DisableNativeLibraryPreloading() 공개 정적인 메소드

Disable preloading of the native C API library. The CLR will handle the binding of the library.
This *must* be called before the start of the network thread, otherwise it won't have any effects.
public static DisableNativeLibraryPreloading ( ) : void
리턴 void

EnableNativeLibraryPreloading() 공개 정적인 메소드

Enable automatic preloading of the native C API library. The operating system will handle the binding of the library
This *must* be called before the start of the network thread, otherwise it won't have any effects.
public static EnableNativeLibraryPreloading ( ) : void
리턴 void

SetNativeLibPath() 공개 정적인 메소드

Preload the native C API library from a specifc path (relative of absolute) where the fdb_c.dll library is located
This *must* be called before the start of the network thread, otherwise it won't have any effects. You can specify the path to a library with a custom file name by making sure that path ends with ".dll". If not, then "fdb_c.dll" will be appended to the path.
public static SetNativeLibPath ( string path ) : void
path string
리턴 void

SetTLSCertificate() 공개 정적인 메소드

Sets the path to the root certificate and public key for TLS connections
This *must* be called before the start of the network thread, otherwise it won't have any effects.
public static SetTLSCertificate ( Slice bytes ) : void
bytes Slice
리턴 void

SetTLSCertificate() 공개 정적인 메소드

Sets the path to the root certificate and public key for TLS connections
This *must* be called before the start of the network thread, otherwise it won't have any effects.
public static SetTLSCertificate ( string path ) : void
path string
리턴 void

SetTLSPlugin() 공개 정적인 메소드

Set the file path or linker-resolved name of the custom TLS plugin to load.
public static SetTLSPlugin ( string name ) : void
name string
리턴 void

SetTLSPrivateKey() 공개 정적인 메소드

Sets the path to the private key for TLS connections
This must be called before the start of the network thread, otherwise it won't have any effects.
public static SetTLSPrivateKey ( Slice bytes ) : void
bytes Slice
리턴 void

SetTLSPrivateKey() 공개 정적인 메소드

Sets the path to the private key for TLS connections
This must be called before the start of the network thread, otherwise it won't have any effects.
public static SetTLSPrivateKey ( string path ) : void
path string
리턴 void

SetTlsVerificationPattern() 공개 정적인 메소드

Sets the pattern with wich to verify certificates of TLS peers
This must be called before the start of the network thread, otherwise it won't have any effects.
public static SetTlsVerificationPattern ( Slice pattern ) : void
pattern Slice
리턴 void

SetTracePath() 공개 정적인 메소드

Sets the custom path where the logs will be stored
This *must* be called before the start of the network thread, otherwise it won't have any effects.
public static SetTracePath ( string outputDirectory ) : void
outputDirectory string
리턴 void

UseTLS() 공개 정적인 메소드

Use TLS to secure the connections to the cluster
public static UseTLS ( Slice certificateBytes, Slice privateKeyBytes, Slice verificationPattern = default(Slice), string plugin = null ) : void
certificateBytes Slice Content of the root certificate and public key
privateKeyBytes Slice Content of the private key
verificationPattern Slice Verification with which to verify certificates of TLS peers
plugin string Optional file path or linker-resolved name of the custom TLS plugin to load
리턴 void

UseTLS() 공개 정적인 메소드

Use TLS to secure the connections to the cluster
public static UseTLS ( string certificatePath, string privateKeyPath, Slice verificationPattern = default(Slice), string plugin = null ) : void
certificatePath string Path to the root certificate and public key
privateKeyPath string Path to the private key
verificationPattern Slice Verification with which to verify certificates of TLS peers
plugin string Optional file path or linker-resolved name of the custom TLS plugin to load
리턴 void

프로퍼티 상세

NativeLibPath 공개적으로 정적으로 프로퍼티

Custom path from where to load the native C API library. If null, let the CLR find the dll. If String.Empty let Win32's LoadLibrary find the correct dll, else use the specified path to load the library
public static string NativeLibPath
리턴 string

TracePath 공개적으로 정적으로 프로퍼티

Default path to the network thread tracing file
public static string TracePath
리턴 string