XiaoFeng.Onvif 1.0.2022.1117

There is a newer version of this package available.
See the version list below for details.
dotnet add package XiaoFeng.Onvif --version 1.0.2022.1117                
NuGet\Install-Package XiaoFeng.Onvif -Version 1.0.2022.1117                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XiaoFeng.Onvif" Version="1.0.2022.1117" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XiaoFeng.Onvif --version 1.0.2022.1117                
#r "nuget: XiaoFeng.Onvif, 1.0.2022.1117"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XiaoFeng.Onvif as a Cake Addin
#addin nuget:?package=XiaoFeng.Onvif&version=1.0.2022.1117

// Install XiaoFeng.Onvif as a Cake Tool
#tool nuget:?package=XiaoFeng.Onvif&version=1.0.2022.1117                

欢迎使用 XiaoFeng.Onvif 工具库

在你的项目中添加nuget包引用,搜索 XiaoFeng.Onvif

基本用法
using XiaoFeng.Onvif;

var ip = "192.168.12.2";
var user = "onvif";
var pass = "123456";

var resu = await DeviceService.DiscoveryOnvif(3);

var onvifUTCDateTime = await DeviceService.GetSystemDateAndTime(ip);
var info = await DeviceService.GetDeviceInformation(ip, user, pass, onvifUTCDateTime);
var abilities= await DeviceService.GetCapabilities(ip);
var tokens = await MediaService.GetProfiles(ip, user, pass, onvifUTCDateTime);
var streamUri = await MediaService.GetStreamUri(ip, user, pass, onvifUTCDateTime, tokens[0]);
var img = await MediaService.GetSnapshotUri(ip, user, pass, onvifUTCDateTime, tokens[0]);

await PTZService.GetStatus(ip, user, pass, onvifUTCDateTime, tokens[0]);
await PTZService.SetHomePosition(ip, user, pass, onvifUTCDateTime, tokens[0]);
await PTZService.AbsoluteMove(ip, user, pass, onvifUTCDateTime, tokens[0], 0, 0);
await PTZService.ContinuousMove(ip, user, pass, onvifUTCDateTime, tokens[0], 0.6, 0.2, 1);
await PTZService.RelativeMove(ip, user, pass, onvifUTCDateTime, tokens[0], 0.8, 0.5, 0.5);
await PTZService.GotoHomePosition(ip, user, pass, onvifUTCDateTime, tokens[0], 0.3, 1, 1);

开源初衷
在调研Onvif封装工具的时候,发现.NET 社区很少有开源的onvif项目,
有的项目还是付费的,人家直接开价,源码收费xxxx元。

经过内心激烈的挣扎,于是自己研发了一版.NET Core开源的项目。
本项目长期开源,基础功能都做好了,当然我自己的精力是有限的,
众人拾柴火焰高,希望对音视频领域感兴趣的小伙伴一起加入吧!

技术这东西,生不带来,死不带去,
技术来自于社区,我们回馈于社区。
互联网是有记忆的,等到我们七老八十了,
还能登录网站回味自己曾经的辉煌!
初版是先实现相关基础功能,后期可以做成服务或者系统,希望同道朋友一起来完善.NET社区的音视频领域的技术
本项目开源100%免费
本项目开源100%免费
本项目开源100%免费
开源不易,路过的小伙伴可以给小编在github点个个小星星,以此激励一下小编!
联系我

因为github访问网络确实慢,除了更新代码,本人访问github频次也低, 如果有疑问的小伙伴可以关注公众号,在线联系

畅聊了个科技

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2023.208 925 2/8/2023
1.0.2022.1117 441 11/17/2022
1.0.2022.1107 399 11/7/2022
1.0.2022.1019 396 10/19/2022
1.0.2022.1017 393 10/17/2022
1.0.1 428 10/15/2022
1.0.0 404 10/14/2022

兼容任何版本