Share via


Probe Method (DpwsServiceTypes, Int32, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sends a Probe request and parses ProbeMatches responses.

Namespace:  Dpws.Client.Discovery
Assembly:  MFDpwsClient (in MFDpwsClient.dll)

Syntax

'Declaration
Public Function Probe ( _
    filters As DpwsServiceTypes, _
    maxProbeMatches As Integer, _
    timeout As Integer _
) As DpwsServiceDescriptions
public DpwsServiceDescriptions Probe(
    DpwsServiceTypes filters,
    int maxProbeMatches,
    int timeout
)
public:
DpwsServiceDescriptions^ Probe(
    DpwsServiceTypes^ filters, 
    int maxProbeMatches, 
    int timeout
)
member Probe : 
        filters:DpwsServiceTypes * 
        maxProbeMatches:int * 
        timeout:int -> DpwsServiceDescriptions 
public function Probe(
    filters : DpwsServiceTypes, 
    maxProbeMatches : int, 
    timeout : int
) : DpwsServiceDescriptions

Parameters

  • maxProbeMatches
    Type: System. . :: . .Int32
    The maximum number of matches to receive within the timeout period. Pass 0 to receive as many matches as possible before the timeout expires.

Return Value

Type: Dpws.Client.Discovery. . :: . .DpwsServiceDescriptions
A collection of objects that contain endpoint details used to locate the actual service on a network and the types supported by the service.

Remarks

A Probe is used to discover services on a network. The Probe method sends a UDP request to the DPWS multicast address, 239.255.255.250:3702. Any service that implements types specified in the filters parameter should respond with a ProbeMatches message. The ProbeMatches message is unicast back to the client that made the request. If a null filter is supplied any DPWS-compliant service should reply with a ProbeMatches response. Probe waits ReceiveTimeout for probe matches.

.NET Framework Security

See Also

Reference

DpwsDiscoveryClient Class

Probe Overload

Dpws.Client.Discovery Namespace