Managed data is data that is allocated and released automatically by the NGWS runtime, through a process called garbage collection. Only managed code can access managed data, but programs that are written in managed code can access both managed and unmanaged data.