.net calls the camera code