> For the complete documentation index, see [llms.txt](https://liquiidio.gitbook.io/unity-plugin-suite/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://liquiidio.gitbook.io/unity-plugin-suite/anchorlink/examples/manage-cpu-net.md).

# Manage CPU/NET

1. The following example shows how to stake CPU/NET and pass the action created to the Sign-Method.

```csharp
   // Stake CPU/NET using a session
      async Task Stake(string amountToStakeCPU, string amountToStakeNET  )
      {
          //Create an action object
          var action = new EosSharp.Core.Api.v1.Action()
          {
              account = "eosio",
              name = "delegatebw",
              authorization = new List<PermissionLevel>() { _session.Auth },
              data = new Dictionary<string, object>
              {
                      { "from", "............1" },
                      { "receiver", "............1" },
		      { "stake_cpu_quantity", amountToStakeCPU },
		      { "stake_net_quantity", amountToStakeNET },
              }
           };
		
	  // Sign with the action created
	   await LinkSession.Transact(new TransactArgs() { Action = action });
	}
```
