Detect if Windows Phone 7 is connected to desktop Zune software

前端 未结 3 1453
别跟我提以往
别跟我提以往 2021-01-14 03:35

I\'ve been working on a Windows Phone 7 app for a few months now and have a collection of useful detection flags that are used to test for things like if the code is running

3条回答
  •  有刺的猬
    2021-01-14 04:32

    Gabor Dolhai has a full blog post on Zune Detection and Network Awareness, which uses a combiantion of NetworkInterfaceType detection and the NetworkAddressChangeed event.

提交回复
热议问题