开发者

How to capture Network traffic on windows phone 7?

开发者 https://www.devze.com 2023-03-15 07:16 出处:网络
Is there a network monitor or wires开发者_如何学Pythonhark like tool available? Kindly provide links to any blogs/articles etc. if possible.The following shows how to use Fiddler and the Windows Phone

Is there a network monitor or wires开发者_如何学Pythonhark like tool available? Kindly provide links to any blogs/articles etc. if possible.


The following shows how to use Fiddler and the Windows Phone 7 emulator:
http://blogs.msdn.com/b/fiddler/archive/2010/10/15/fiddler-and-the-windows-phone-emulator.aspx

Update
To capture traffic on an actual device is a bit more work:
- You need a machine running foddler and set up to act as a proxy (Tools > Fiddler options > Connections)
- Set the port to list on and check 'Allow remote computers to connect'
- Create an adhoc wireless network from that machine (this assumes you are using a machine which can do this)
- Connect to the new adhoc network from your device
- Voila! You can now see the traffic going through fiddler


Proxy does not work on WP 7 device when it's connected to PC. Need to change Zune settings:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Zune\WindowsPhone]
    "DTPTAllowed"=dword:0
0

精彩评论

暂无评论...
验证码 换一张
取 消