Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top