Table of Contents

Class OnvifDiscovery

Namespace
VAST.ONVIF
Assembly
VAST.ONVIF.dll

Provides static methods for discovering ONVIF devices on the network using WS-Discovery and UPnP protocols.

public static class OnvifDiscovery
Inheritance
OnvifDiscovery
Inherited Members

Properties

Nics

Gets the list of active network interfaces on the current system.

public static List<NetworkInterface> Nics { get; }

Property Value

List<NetworkInterface>

VendorMacFilter

Gets or sets the vendor MAC address filter pattern used to match specific device manufacturers (e.g., Axis, Mobotix).

public static string VendorMacFilter { get; set; }

Property Value

string

Methods

PopulateNics()

Populates the Nics list with active network interfaces. This call can be skipped if user code populates Nics directly.

public static void PopulateNics()

SearchAsync(int)

Searches the network for ONVIF devices using WS-Discovery on all active network interfaces.

public static Task<List<DiscoveredDevice>> SearchAsync(int timeoutMs)

Parameters

timeoutMs int

The search timeout in milliseconds.

Returns

Task<List<DiscoveredDevice>>

A list of DiscoveredDevice instances found during the search.