C# Class OpenRA.Network.UPnP

Mostra file Open project: cjshmyr/OpenRA

Public Methods

Method Description
DeviceFound ( object sender, Mono.Nat.DeviceEventArgs args ) : void
ForwardPort ( int lifetime ) : void
GetExternalIP ( ) : IPAddress
RemovePortforward ( ) : void
StoppingNatDiscovery ( ) : void
TryNatDiscovery ( ) : void

Method Details

DeviceFound() public static method

public static DeviceFound ( object sender, Mono.Nat.DeviceEventArgs args ) : void
sender object
args Mono.Nat.DeviceEventArgs
return void

ForwardPort() public static method

public static ForwardPort ( int lifetime ) : void
lifetime int
return void

GetExternalIP() public static method

public static GetExternalIP ( ) : IPAddress
return System.Net.IPAddress

RemovePortforward() public static method

public static RemovePortforward ( ) : void
return void

StoppingNatDiscovery() public static method

public static StoppingNatDiscovery ( ) : void
return void

TryNatDiscovery() public static method

public static TryNatDiscovery ( ) : void
return void