开发者

Block outgoing connection (an IP address) in c#

开发者 https://www.devze.com 2023-01-30 20:25 出处:网络
I开发者_开发知识库 would like to block an IP from c#. I looked up MSDN, and found only firewall exception usage.

I开发者_开发知识库 would like to block an IP from c#.

I looked up MSDN, and found only firewall exception usage.

Is there any other simpler solutions? I don't want to touch my client's computer setting.


No, only the OS or an application that hooks into the OS can block outgoing connections. The firewall is the best place to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消