> 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/enableautorotation.md).

# EnableAutoRotation

Enable or disable automatic proxy rotation.

```c
GoInt EnableAutoRotation(GoUint8 enable)
```

***

## Parameters

* enable: 1 to enable, 0 to disable.

## Return Value

* GoInt: 0 on success.

## Example

```c
// example

EnableAutoRotation(1);

```
