
## SetMeteredKey {#setmeteredkey}

Sets metered public and private keys.

**Returns:** void Aspose::Tasks::

```cpp
SetMeteredKey(const System::String & publicKey, const System::String & privateKey)
```

| Parameter | Description |
| --- | --- |
| publicKey | The public key. |
| privateKey | The private key. |

