All Projects → vmartos → onvif-discovery

vmartos / onvif-discovery

Licence: MIT License
C# .NetStandard 2.0 library to discover ONVIF compliant devices

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to onvif-discovery

Cosmos.Identity
A Cosmos storage provider for ASP.NET Core Identity.
Stars: ✭ 26 (-10.34%)
Mutual labels:  netcore, netstandard
Portable-WebDAV-Library
Moved to codeberg.org - https://codeberg.org/DecaTec/Portable-WebDAV-Library - The Portable WebDAV Library is a strongly typed, async WebDAV client library which is fully compliant to RFC 4918, RFC 4331 and "Additional WebDAV Collection Properties". It is implemented as .NETStandard 1.1 library in oder to be used on any platform supporting .NETS…
Stars: ✭ 45 (+55.17%)
Mutual labels:  netcore, netstandard
NETProvider
Firebird ADO.NET Data Provider
Stars: ✭ 113 (+289.66%)
Mutual labels:  netcore, netstandard
MyDAL
The fastest and best ORM lite on C# for MySQL ! -- 友好, 轻量, 极致性能, 无任何第三方依赖, 持续演进~~
Stars: ✭ 32 (+10.34%)
Mutual labels:  netcore, netstandard
ActiveLogin.Identity
Parsing and validation of Swedish identities such as Personal Identity Number (svenskt personnummer) in .NET.
Stars: ✭ 51 (+75.86%)
Mutual labels:  netcore, netstandard
Kendo.DynamicLinqCore
KendoNET.DynamicLinq implements server paging, filtering, sorting, grouping, and aggregating to Kendo UI via Dynamic Linq for .Net Core App(1.x ~ 3.x).
Stars: ✭ 36 (+24.14%)
Mutual labels:  netcore, netstandard
DjvuNet
DjvuNet is a cross platform fully managed .NET library for working with Djvu documents which can run on Linux, macOS and Windows. Library has been written in C# and targets .NET Core v3.0 and .NET Standard v2.1 or later. We intend to provide DjVu document processing capabilities on par with DjVuLibre reference library (or even better).
Stars: ✭ 54 (+86.21%)
Mutual labels:  netcore, netstandard
Standard.licensing
Easy-to-use licensing library for .NET Framework, Mono, .NET Core, and Xamarin products
Stars: ✭ 239 (+724.14%)
Mutual labels:  netcore, netstandard
AvroConvert
Apache Avro serializer for .NET
Stars: ✭ 44 (+51.72%)
Mutual labels:  netcore, netstandard
AlphaVantage.Net
.Net client library for Alpha Vantage API
Stars: ✭ 65 (+124.14%)
Mutual labels:  netcore, netstandard
Autofac.Configuration
Configuration support for Autofac IoC
Stars: ✭ 35 (+20.69%)
Mutual labels:  netcore, netstandard
DotNetDynamicInjector
💉 Dynamically reference external dlls without the need to add them to the project. Leave your project with low dependency and allowing specific dlls according to your business rule or database parameters.
Stars: ✭ 18 (-37.93%)
Mutual labels:  netcore, netstandard
SharpAudio
Audio playback/capturing engine for C#
Stars: ✭ 139 (+379.31%)
Mutual labels:  netcore, netstandard
dark-sky-core
A .NET Standard Library for using the Dark Sky API.
Stars: ✭ 55 (+89.66%)
Mutual labels:  netcore, netstandard
Platform Compat
Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.
Stars: ✭ 250 (+762.07%)
Mutual labels:  netcore, netstandard
DotNetGraph
Create GraphViz DOT graph with .NET / C#
Stars: ✭ 57 (+96.55%)
Mutual labels:  netcore, netstandard
Swan
Swan stands for Stuff We All Need. Unosquare's collection of C# extension methods and classes.
Stars: ✭ 202 (+596.55%)
Mutual labels:  netcore, netstandard
Opentouryo
”Open棟梁”は、長年の.NETアプリケーション開発実績にて蓄積したノウハウに基づき開発した.NET用アプリケーション フレームワークです。 (”OpenTouryo” , is an application framework for .NET which was developed using the accumulated know-how with a long track record in .NET application development.)
Stars: ✭ 233 (+703.45%)
Mutual labels:  netcore, netstandard
Decor.NET
A simple way to decorate a class with additional functionality using attributes.
Stars: ✭ 29 (+0%)
Mutual labels:  netcore, netstandard
dotnet
.NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and part of the .NET Foundation.
Stars: ✭ 865 (+2882.76%)
Mutual labels:  netcore, netstandard

Onvif Discovery

NuGet version (OnvifDiscovery) Build Status Quality Gate Status Coverage Code Smells

OnvifDiscovery is a simple cross-platform library to discover ONVIF compliant devices.

Where can I use it

OnvifDiscovery targets .NET Standard 2.0, so it can run on platforms:

  • .NET core >= 2.0 (Windows, MacOS, linux)
  • .NET Framework >= 4.6.1 (Windows)
  • Mono >= 5.4 (Windows, MacOS, linux)
  • Xamarin.iOS >= 10.14 (iOS)
  • Xamarin.Mac >= 3.8 (MacOS)
  • Xamarin.Android >= 8.0 (Android)

More info: click here

Getting started

OnvifDiscovery sends a probe message to all available network interfaces and waits the timeout specified in order to get the list of discovered onvif devices that replied to the probe message.

To use the library install and add a reference of the OnvifDiscovery nuget package, then call the discover method like the following sample:

// add the using
using OnvifDiscovery;

// Create a Discovery instance
var onvifDiscovery = new Discovery ();

// Call the asynchronous method Discover with a timeout of 1 second
var onvifDevices = await onvifDiscovery.Discover (1);

// Alternatively, you can call Discover with a cancellation token
CancellationTokenSource cancellation = new CancellationTokenSource ();
var onvifDevices = await onvifDiscovery.Discover (1, cancellation.Token);

Finally, you can also use the Discover method passing a callback, so you will receive calls to that method every time a new camera is discovered, take into account that this callback can be called at the same time from different threads, so make sure your callback is thread-safe:

// add the using
using OnvifDiscovery;

// Create a Discovery instance
var onvifDiscovery = new Discovery ();

// You can call Discover with a callback (Action) and CancellationToken
CancellationTokenSource cancellation = new CancellationTokenSource ();
await onvifDiscovery.Discover (1, OnNewDevice, cancellation.Token);

private void OnNewDevice (DiscoveryDevice device)
{
    // New device discovered
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].