> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/setusercountrycode.md).

# SetUserCountryCode

Set the user’s country code.

```c
void SetUserCountryCode(char* code)
```

***

## Parameters

* **code**: ISO country code string (e.g., "HK").

## Return Value

Set the user’s country code

## Example

```c
// example

SetUserCountryCode("HK");

```
