locked
SoftAP Peer Connection Event

    Question

  • Hi,

    When local Windows 8 desktop application is hosting Wifi hotspot (SoftAP), Can Metro app recieve any kind of peer connect and disconnect notifications from Windows ?

    Thank you in advance.

    Regards,

    BC

    Friday, March 30, 2012 1:36 PM

All replies

  • Hello,

    You can try to get the SystemTriggerType in background task. You can try to get

    InternetAvailable | internetAvailable
    The background task is triggered when the Internet becomes available.

    or

    NetworkControlChannelTriggerReset | networkControlChannelTriggerReset
    The background task is triggered when a network channel is reset.

    Please follow this sample to create background task
    http://code.msdn.microsoft.com/windowsapps/Background-Task-Sample-9209ade9/

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Monday, April 2, 2012 7:30 AM
  • Thank you for your response. But mentioned events ( NetworkControlChannelTriggerReset | networkControlChannelTriggerReset, InternetAvailable | internetAvailable ) doesn't occur, when peer devices connects or disconnects to Wifi hotspot.

    Thank you,

    With Regards,

    BC

    Monday, April 2, 2012 9:31 AM
  • Hi, 

    Which local windows 8 application SoftAP did you use? Is that a inbox windows 8 application?

    Thanks

    Thursday, May 3, 2012 1:37 PM
  • Hi

    I have tried running hostednetwork using NetSH command on desktop

    netsh wlan set hostednetwork mode=allow ssid=hostonwin8 key=12345678

    netsh wlan start hostednetwork

    and share the connection

    thanks

    Tuesday, May 8, 2012 4:43 AM