In general the answer to "how do I do X in a Universal App"? is the same as doing X in a normal Windows Store app.
To control the torch use the MediaCapture.VideoDeviceControllerTorchControl | torchControl property to get its TorchControl object.