none
How can I disable and enable TCP ports on a machine? RRS feed

  • Question

  • I want to disable and enable ports on a client machine, so for exemple the user can't use the 80 port for exemple to navigate through internet. Is there any Api in C# that can help me?
    I heard about "NetFwTypeLib" or using the "netsh firewall" command to do so.

    Can anyone give me source in CSharp please?



    • Edited by bellamine Friday, February 15, 2013 10:26 AM
    Thursday, February 14, 2013 9:32 PM

Answers