C# 클래스 Library.Net.Upnp.UpnpClient

상속: ManagerBase
파일 보기 프로젝트 열기: Alliance-Network/Library 1 사용 예제들

공개 메소드들

메소드 설명
ClosePort ( UpnpProtocolType protocol, int externalPort, System.TimeSpan timeout ) : bool
Connect ( System.TimeSpan timeout ) : void
GetExternalIpAddress ( System.TimeSpan timeout ) : string
GetPortEntry ( int index, System.TimeSpan timeout ) : Information
OpenPort ( UpnpProtocolType protocol, int externalPort, int internalPort, string description, System.TimeSpan timeout ) : bool
OpenPort ( UpnpProtocolType protocol, string machineIp, int externalPort, int internalPort, string description, System.TimeSpan timeout ) : bool

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
ClosePortFromService ( string services, string serviceType, string gatewayIp, int gatewayPort, UpnpProtocolType protocol, int externalPort, System.TimeSpan timeout ) : bool
GetExternalIpAddressFromService ( string services, string serviceType, string gatewayIp, int gatewayPort, System.TimeSpan timeout ) : string
GetPortEntryFromService ( string services, string serviceType, string gatewayIp, int gatewayPort, int index, System.TimeSpan timeout ) : Information
GetServicesFromDevice ( Uri &location, IPAddress targetIp, IPAddress localIp, System.TimeSpan timeout ) : string
OpenPortFromService ( string services, string serviceType, string gatewayIp, int gatewayPort, UpnpProtocolType protocol, string machineIp, int externalPort, int internalPort, string description, System.TimeSpan timeout ) : bool
TimeoutCheck ( System.TimeSpan elapsedTime, System.TimeSpan timeout ) : System.TimeSpan

메소드 상세

ClosePort() 공개 메소드

public ClosePort ( UpnpProtocolType protocol, int externalPort, System.TimeSpan timeout ) : bool
protocol UpnpProtocolType
externalPort int
timeout System.TimeSpan
리턴 bool

Connect() 공개 메소드

public Connect ( System.TimeSpan timeout ) : void
timeout System.TimeSpan
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetExternalIpAddress() 공개 메소드

public GetExternalIpAddress ( System.TimeSpan timeout ) : string
timeout System.TimeSpan
리턴 string

GetPortEntry() 공개 메소드

public GetPortEntry ( int index, System.TimeSpan timeout ) : Information
index int
timeout System.TimeSpan
리턴 Information

OpenPort() 공개 메소드

public OpenPort ( UpnpProtocolType protocol, int externalPort, int internalPort, string description, System.TimeSpan timeout ) : bool
protocol UpnpProtocolType
externalPort int
internalPort int
description string
timeout System.TimeSpan
리턴 bool

OpenPort() 공개 메소드

public OpenPort ( UpnpProtocolType protocol, string machineIp, int externalPort, int internalPort, string description, System.TimeSpan timeout ) : bool
protocol UpnpProtocolType
machineIp string
externalPort int
internalPort int
description string
timeout System.TimeSpan
리턴 bool