# otNetworkName Struct Reference

# otNetworkName


`#include <openthread/dataset.h>`

Represents a Network Name.

## Summary

The `https://openthread.io/reference/struct/ot-network-name` is a null terminated C string (i.e., `m8` char array MUST end with null char `\0`).

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-network-name#structot_network_name_1a7e19a51b707a4439b192bbc2cb4824ef[16+1]` | `char` Byte values. The `+ 1` is for null char. |

## Public attributes

### m8

```
char otNetworkName::m8[16+1]
```
Byte values. The `+ 1` is for null char.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).