none
Enable or disable a sensor on Win 7 RRS feed

  • Question

  • Hi guys,

    Do we have any way to enable or disable Location and Other Sensors settings via C# code?


    Thursday, August 21, 2014 6:50 AM

Answers

  • Use the method in APICodePack to request permission from Windows:

    public static void RequestPermission(IntPtrparentWindowHandle, boolmodal, SensorList<Sensor> sensors);

    Wednesday, October 8, 2014 8:37 AM

All replies