Question

I was try to spoof my IP while using HttpWebRequest. I've searched here for a solution and found this piece of code:

request.ServicePoint.BindIPEndPointDelegate = delegate { return new IPEndPoint(IPAddress.Parse("Spoofed IP Goes Here"), 0); };

Yet this code does not work for me, can you guys give me another solution?

Était-ce utile?

La solution

It can be done by using SharpPCap. See this answer by Evan.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top