---
title: attachInterface
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/ionetworkcontroller/1393375-attachinterface
---

# attachInterface

## Declaration

```occ
virtual bool attachInterface(IONetworkInterface **interface, bool doRegister);
```
