LumiSoft Net Help
Search Method (ip, deviceType, timeout)
Namespaces ► LumiSoft.Net.UPnP.Client ► UPnP_Client ► Search(IPAddress, String, Int32)
Searches the network for UPnP devices.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public UPnP_Device[] Search(
    	IPAddress ip,
    	string deviceType,
    	int timeout
    )

    Public Function Search (
    	ip As IPAddress,
    	deviceType As String,
    	timeout As Integer
    ) As UPnP_Device()

    public:
    array<UPnP_Device^>^ Search(
    	IPAddress^ ip,
    	String^ deviceType,
    	int timeout
    )

    member Search :
            ip : IPAddress *
            deviceType : string *
            timeout : int -> UPnP_Device[]

Parameters

ip (IPAddress)
  IP address of UPnP device.

deviceType (String)
  UPnP device type. For example: "urn:schemas-upnp-org:device:InternetGatewayDevice:1".

timeout (Int32)
  Search wait timeout in milliseconds.

Return Value
array<UPnP_Device>[]()[][]
Returns matched UPnP devices.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when ip is null reference.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119