C# 클래스 Kazyx.DeviceDiscovery.SsdpDiscovery

파일 보기 프로젝트 열기: kazyx/kz-ssdp-discovery

공개 메소드들

메소드 설명
AnalyzeDescription ( string response ) : SonyCameraDeviceInfo
ClearCache ( ) : void
GetActiveAdaptersAsync ( ) : Task>
SearchSonyCameraDevices ( System.TimeSpan timeout = null ) : void

Search sony camera devices and retrieve the endpoint URLs.

SearchUpnpDevices ( string st = ST_ALL, System.TimeSpan timeout = null ) : void

Search UPnP devices and retrieve the device description.

보호된 메소드들

메소드 설명
OnDiscovered ( DeviceDescriptionEventArgs e ) : void
OnDiscovered ( SonyCameraDeviceEventArgs e ) : void
OnTimeout ( EventArgs e ) : void

비공개 메소드들

메소드 설명
GetActiveAdaptersAsync ( ) : Task>
GetDeviceDescriptionAsync ( string data, HostName remoteAddress ) : System.Threading.Tasks.Task
GetDeviceDescriptionAsync ( AsyncCallback ac, string data ) : void
Log ( string message ) : void
OnDatagramSocketMessageReceived ( DatagramSocket sender, DatagramSocketMessageReceivedEventArgs args ) : void
OnDescriptionObtained ( string response, Uri uri, HostName remoteAddress ) : void
ParseLocation ( string response ) : string
Search ( string st, System.TimeSpan timeout = null ) : void

메소드 상세

AnalyzeDescription() 공개 정적인 메소드

public static AnalyzeDescription ( string response ) : SonyCameraDeviceInfo
response string
리턴 SonyCameraDeviceInfo

ClearCache() 공개 메소드

public ClearCache ( ) : void
리턴 void

GetActiveAdaptersAsync() 공개 정적인 메소드

public static GetActiveAdaptersAsync ( ) : Task>
리턴 Task>

OnDiscovered() 보호된 메소드

protected OnDiscovered ( DeviceDescriptionEventArgs e ) : void
e DeviceDescriptionEventArgs
리턴 void

OnDiscovered() 보호된 메소드

protected OnDiscovered ( SonyCameraDeviceEventArgs e ) : void
e SonyCameraDeviceEventArgs
리턴 void

OnTimeout() 보호된 메소드

protected OnTimeout ( EventArgs e ) : void
e System.EventArgs
리턴 void

SearchSonyCameraDevices() 공개 메소드

Search sony camera devices and retrieve the endpoint URLs.
public SearchSonyCameraDevices ( System.TimeSpan timeout = null ) : void
timeout System.TimeSpan Timeout to end up search.
리턴 void

SearchUpnpDevices() 공개 메소드

Search UPnP devices and retrieve the device description.
public SearchUpnpDevices ( string st = ST_ALL, System.TimeSpan timeout = null ) : void
st string Search Target parameter for SSDP.
timeout System.TimeSpan Timeout to end up search.
리턴 void