> For the complete documentation index, see [llms.txt](https://centr.gitbook.io/netcs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://centr.gitbook.io/netcs/getting-started/understanding-connector-object.md).

# Understanding Connector Object

In order to use the C# Library you need to initialize the Connector Object&#x20;

The connector object let's you connect to the Thrift API of a certain node running Credits Blockchain. In order to able to connect it needs the following variables

* **IP:** The IP Address of the node you are connecting with
* **PORT:** You need to specify the port number of the API (Default: 9090)&#x20;

{% hint style="info" %}
Below you will find an example on how to initialize the object.
{% endhint %}

{% tabs %}
{% tab title="Python" %}

```csharp
Connect_ =  Connector("165.22.212.253:9090")
```

{% endtab %}

{% tab title="C#" %}

```csharp
Connector connect_ = new Connector("95.111.224.219", 9091);
```

{% endtab %}

{% tab title="Javascript" %}

```javascript
var connect_ = new Connector("194.163.152.177", 9091);
```

{% endtab %}
{% endtabs %}

&#x20;&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://centr.gitbook.io/netcs/getting-started/understanding-connector-object.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
