Guest User

Untitled

a guest
Jan 29th, 2015
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. NATUPNPLib.UPnPNAT upnpnat = new NATUPNPLib.UPnPNAT();
  2. NATUPNPLib.IStaticPortMappingCollection mappings = upnpnat.StaticPortMappingCollection;
  3. mappings.Add(1337, "TCP", 1337, "192.168.1.102", true, "Local Web Server");
  4. mappings.Add(1337, "UDP", 1337, "192.168.1.102", true, "Local Web Server");
Advertisement
Add Comment
Please, Sign In to add comment