Hi I want to make an app that uses the camera's LED constantly. I have seen a few examples that do this but I cannot get them to work as I need them in VB. I am open to C# code that I will convert myself. Also I know you need the windows.phone.media.extended.dll assembly. I have managed to dump the emulater image but I am not sure if the assembly will work. How can I use reflection instead?
How can I convert the following codes to vb?
private void VideoCamera_Initialized(object sender, object eventArgs)
{
if (Initialized != null)
{
Initialized.Invoke(this, new EventArgs());
}
}
public bool LampEnabled
{
get { return (bool)_videoCameraLampEnabledPropertyInfo.GetGetMethod().Invoke(_videoCamera, new object[0]); }
set { _videoCameraLampEnabledPropertyInfo.GetSetMethod().Invoke(_videoCamera, new object[] { value }); }
}