NATUPNPLib.UPnPNATClass upnpnat = new NATUPNPLib.UPnPNATClass(); NATUPNPLib.IStaticPortMappingCollection mappings = upnpnat.StaticPortMappingCollection; //mappings.Remove(9603, "TCP"); //mappings.Remove(9603, "UDP"); mappings.Add(9604, "TCP", 9604, "192.168.1.199", true, "dri"); mappings.Add(9604, "UDP", 9604, "192.168.1.199", true, "dri");
Port 9604 is closed
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)