FiddlerCore Abort() method in windows service

2 posts, 0 answers
  1. Riccardo
    Riccardo avatar
    3 posts
    Member since:
    Jul 2011

    Posted 17 May Link to this post

    Hello,

    I'm using FiddlerCore library in a C# windows service. I am hooking for the RequestHeadersAvailable event and calling Session.Abort() inside it (after my checks). The problem is that the session is not aborted, whereas inside a simple c# winforms application (not a windows service then) it works as expected. I guess the problem is related to the windows current UserSession, but I don't know how to solve it.

     

    Thanks

  2. Riccardo
    Riccardo avatar
    3 posts
    Member since:
    Jul 2011

    Posted 18 May Link to this post

    Update: if I run the windows service as a user account, the Abort() method works. I'd like to find a way to create the proxy for the current logged on user though, but I can't figure out how to do it.
Back to Top