# Vote

1. The following example shows how a vote Action can be created and passed to the vote-Method using a session.

```csharp
      async Task Vote(List<string> producers)
      {
          //Create an action object
          var action = new EosSharp.Core.Api.v1.Action()
          {
              account = "eosio",
              name = "voteproducer",
              authorization = new List<PermissionLevel>() { _session.Auth },
              data = new Dictionary<string, object>
              {
                  { "voter", "............1" },
                  { "proxy", "coredevproxy" },
                  { "producers", producers.ToArray() }
              }
          };
		
	  // Sign with an action created.
	   _anchorLink.Transact(new TransactArgs() { Action = action }).ContinueWith(transactTask =>
          {
                Debug.Log($"Thank you {transactTask.Result.Signer.actor}");
          });
	}
```


---

# Agent Instructions: 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:

```
GET https://liquiidio.gitbook.io/unity-plugin-suite/anchorlink/examples/vote.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
