I would like to block IP from C #.
I looked at the MSDN and found only the use of a firewall exception.
Are there any other simpler solutions? I do not want to touch the settings of my computer.
No, only the OS or application that connects to the OS can block outgoing connections. A firewall is the best place to do this.
Source: https://habr.com/ru/post/1780816/More articles:BackgroundWorker slow - c #how to increase the value of a progress bar based on validation - jqueryC # - using listbox.BeginUpdate / listbox.EndUpdate in a multi-threaded environment not working - multithreadingHow to remove users by mask in Oracle RDBMS - sqlHow to start creating BHO in C #? - c #Updating the shortest distance matrix if one edge weight decreases - algorithmEXEC_BAD_ACCESS in a two-line OpenGL program - initializationMaintaining an order when choosing a static group from a table - c #How to adjust DevExpress TcxGrid size - delphiJavaScript regular expression (checking page range) - javascriptAll Articles