无法使用FiddlerCore

时间:2018-08-04 13:49:05

标签: c# fiddler fiddlercore

使用此代码完成提琴手时,LAN代理保持激活状态

 FiddlerApplication.AfterSessionComplete += (SessionStateHandler)(sesion =>
                    {
                        if (!sesion.uriContains("mGame2.swf") || !sesion.uriContains("BBKids.swf") || !sesion.uriContains("flor.swf") || !sesion.uriContains("backGround.swf") || !sesion.uriContains("foreGround.swf") || !sesion.uriContains("marikita.swf") || !sesion.uriContains("escenario102.swf") || !sesion.uriContains("fichaAvatar.swf") || !sesion.uriContains("fichaAvisoGames.swf") || !sesion.uriContains("commonLibrary.swf"))
                            return;
                        FiddlerApplication.Shutdown();

                    });

我尝试将其更改为:

 FiddlerApplication.AfterSessionComplete += (SessionStateHandler)(sesion =>
                    {
                        if (!sesion.uriContains("mGame2.swf") || !sesion.uriContains("BBKids.swf") || !sesion.uriContains("flor.swf") || !sesion.uriContains("backGround.swf") || !sesion.uriContains("foreGround.swf") || !sesion.uriContains("marikita.swf") || !sesion.uriContains("escenario102.swf") || !sesion.uriContains("fichaAvatar.swf") || !sesion.uriContains("fichaAvisoGames.swf") || !sesion.uriContains("commonLibrary.swf"))
                            return;
                        FiddlerApplication.oProxy.Detach();

                    });

并且代理仍然保持激活状态。

0 个答案:

没有答案