Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

M_Iota_Lib_CSharp_Api_IotaApi__ctor_1

saniro edited this page Feb 16, 2017 · 1 revision

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

Clone this wiki locally