Good day
Hi
I am now trying to use WCL in our project in web., I am using Vs 2005 c#, i am trying to discover bluetooth device, but the problem is DiscoveryStarted is not triggering. and also i think it is not discovering.
Question
1. How am i going to use WCL in web?
2. Is there anything that i have to do first so that i can discover?
here is a sample code
wclBluetoothDiscovery L_discovery = new wclBluetoothDiscovery();
L_discovery.DiscoveryStarted +=new wclnet.OnBluetoothDiscoveryStarted(L_discovery_DiscoveryStarted);
public bool Discovery(wclBluetoothRadio radio)
{
bool discok = false;
try
{
L_discovery.Discovery(radio);
discok = true;
}
catch (Exception)
{
discok = false;
}
return discok;
}
private void L_discovery_DiscoveryStarted(object sender, BluetoothDiscoveryStartedEventArgs e)
{
L_isDiscovering = true;
}
Note i have post the same problem of mine in general discussion but i think it is not the apropriate place so i post it here again. and remove the post topic in general discussion.
Thanks