質問

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?

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top