M_Iota_Lib_CSharp_Api_IotaApi__ctor_1 - iotaledger-archive/iota.lib.csharp GitHub Wiki
Creates an api object that uses the specified connection settings to connect to a node
Namespace: Iota.Lib.CSharp.Api
Assembly: IotaApi (in IotaApi.dll) Version: 0.9.0.24212 (1.0.0.0)
C#
public IotaApi(
string host,
int port,
ICurl curl
)
- host
- Type: System.String
hostname or API address of a node to interact with - port
- Type: System.Int32
tcp/udp port - curl
- Type: Iota.Lib.CSharp.Api.Utils.ICurl
a custom curl implementation to be used to perform the pow. Use the other constructor in order to use the default curl implementation provided by the library