Author Topic: WCL and Radio.setName  (Read 1562 times)

Offline ppaquin

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
WCL and Radio.setName
« on: February 13, 2013, 12:14:26 PM »
Hi,

I'd like to know if it's possible to change BT Name with WCL. I saw that wclBluetoothRadio got the "setName" method, which seems to not work.

I used :

            wclBluetoothRadio Radio = GetSelectedRadio();
            if (Radio != null)
            {
                Radio.SetDiscoverable(false);
                Radio.SetName("NEWNAME");
                Radio.SetDiscoverable(true);
            }

I saw here to use another dll (in OLD folder). I have this dll, but i don't know where to put her... I use Microsoft Visual Studio Express 2012 actually.

May anyone help me on this?

Many thanks,

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3053
  • Karma: 1000
    • Soft Service Company
Re: WCL and Radio.setName
« Reply #1 on: February 13, 2013, 12:15:05 PM »
To be able to change radio name with MS driver your application must run with administrative rights.

Offline ppaquin

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: WCL and Radio.setName
« Reply #2 on: February 13, 2013, 12:23:23 PM »
That's it!!

Many thanks, it works

 

Sitemap 1 2 3 4 5 6 7 8 9