You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-50Lines changed: 12 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Optionally, add Onvif discovery to make your service discoverable on the network
38
38
```cs
39
39
builder.Services.AddOnvifDiscovery();
40
40
```
41
-
Simple DeviceImpl just extends `SharpOnvifServer.DeviceMgmt.DeviceBase` and overrides a method you want to implement - for instance `GetDeviceInformation`:
41
+
Simple `DeviceImpl` just extends `SharpOnvifServer.DeviceMgmt.DeviceBase` and overrides a method you want to implement - for instance `GetDeviceInformation`:
42
42
```cs
43
43
publicclassDeviceImpl : DeviceBase
44
44
{
@@ -153,61 +153,23 @@ First add a reference to the DLL that implements the clients (e.g. `SharpOnvifCl
153
153
```cs
154
154
varauth=newDigestBehavior("admin", "password");
155
155
```
156
-
Create the Onvif client and set the authentication behavior before you use it:
156
+
Create the Onvif client and set the authentication behavior using `SetOnvifAuthentication` extension method from `SharpOnvifClient.OnvifAuthenticationExtensions`before you use it:
0 commit comments