M_Iota_Lib_CSharp_Api_IotaApi__ctor_1 - iotaledger-archive/iota.lib.csharp GitHub Wiki

IotaApi Constructor (String, Int32, ICurl)

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)

Syntax

C#

public IotaApi(
	string host,
	int port,
	ICurl curl
)

Parameters

 

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

See Also

Reference

IotaApi Class
IotaApi Overload
Iota.Lib.CSharp.Api Namespace

⚠️ **GitHub.com Fallback** ⚠️