Use RAII approaches for hardware information detection