Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinClient.Create

public static OdinClient Create(Uri server)
public static OdinClient Create(Uri server, string accessKey)
public static OdinClient Create(Uri server, string accessKey, NativeBindings.OdinConnectionPoolSettings settings)

Creates a new initialized instance for ODIN ffi C# Wrapper

Info

Will set a random accesskey; Can fail on initialize!

Parameters

NameTypeDescription
serverUriOdin Server/Gateway
accessKeyStringOdin access key
settingsOdinConnectionPoolSettingsCustom settings

Returns

TypeDescription
OdinClientOdinClient wrapper

Variants

Create(server)

public static OdinClient Create(Uri server)

Creates a new initialized instance for ODIN ffi C# Wrapper

Warning

Will set a random accesskey; Can fail on initialize!

Parameters

NameTypeDescription
serverUriOdin Server/Gateway

Returns

TypeDescription
OdinClientOdinClient wrapper

Create(server, accessKey)

public static OdinClient Create(Uri server, string accessKey)

Creates a new initialized instance for ODIN ffi C# Wrapper

Warning

Can fail on initialize!

Parameters

NameTypeDescription
serverUriOdin Server
accessKeyStringOdin access key

Returns

TypeDescription
OdinClientOdinClient wrapper

Create(server, accessKey, settings)

public static OdinClient Create(Uri server, string accessKey, NativeBindings.OdinConnectionPoolSettings settings)

Creates a new initialized instance for ODIN ffi C# Wrapper

Warning

Can fail on initialize!

Parameters

NameTypeDescription
serverUriOdin Server
accessKeyStringOdin access key
settingsOdinConnectionPoolSettingsCustom settings

Returns

TypeDescription
OdinClientOdinClient wrapper