C# 클래스 UPnP.NAT

파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS

공개 메소드들

메소드 설명
DeleteForwardingRule ( int port, ProtocolType protocol ) : void
Discover ( ) : bool
ForwardPort ( int port, ProtocolType protocol, string description ) : void
GetExternalIP ( ) : IPAddress

비공개 메소드들

메소드 설명
CombineUrls ( string resp, string p ) : string
GetServiceUrl ( string resp ) : string
SOAPRequest ( string url, string soap, string function ) : XmlDocument

메소드 상세

DeleteForwardingRule() 공개 정적인 메소드

public static DeleteForwardingRule ( int port, ProtocolType protocol ) : void
port int
protocol ProtocolType
리턴 void

Discover() 공개 정적인 메소드

public static Discover ( ) : bool
리턴 bool

ForwardPort() 공개 정적인 메소드

public static ForwardPort ( int port, ProtocolType protocol, string description ) : void
port int
protocol ProtocolType
description string
리턴 void

GetExternalIP() 공개 정적인 메소드

public static GetExternalIP ( ) : IPAddress
리턴 System.Net.IPAddress