强制windows Phone使用WIFI连接 [英] Forcing windows Phone to use WIFI connection

查看:27
本文介绍了强制windows Phone使用WIFI连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何强制windows手机使用wifi.问题是当我连接到 Zune 时,它​​使用的是本地机器以太网连接.我需要通过代码禁用它.我如何在 Windows Phone 7 中实现这一点.

How to force windows phone to use wifi. The issue is that when i connected to Zune, it is using the local machines Ethernet connection. I need to disable this through code. How i can achieve this in windows phone 7.

推荐答案

你不能.最好的办法是断开USB线,因为手机仍然会认为它已连接(它仍然能够ping通Zune并且没有收到相同的网络连接更改事件)

You can't. The best thing to do is to disconnect the USB cable because the phone will still think that it is connected (it is still able to ping Zune and does not receive the same network connection changed events)

这使得调试变得不可能,所以我决定在我的调试版本中添加日志记录.

This makes it impossible to debug so I resolved to add logging to my DEBUG builds.

这篇关于强制windows Phone使用WIFI连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆