Skip to content

Commit 8b62e89

Browse files
committed
E Updated ReadMe
1 parent b940549 commit 8b62e89

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ Onvif client provides netstandard2.0 and NET8.0 WCF bindings generated using `do
9191

9292
To discover Onvif devices on your network, use:
9393
```cs
94-
string[] onvifDeviceUris = await OnvifDiscoveryClient.DiscoverAsync();
94+
var onvifDevices = await OnvifDiscoveryClient.DiscoverAsync();
9595
```
9696

9797
To create the `SimpleOnvifClient`, use:
9898
```cs
99-
var client = new SimpleOnvifClient(onvifDeviceUri, "admin", "password");
99+
var client = new SimpleOnvifClient(onvifDevices[0].Addresses[0], "admin", "password");
100100
```
101101

102102
Call `GetDeviceInformationAsync` to retrieve information about the device:

src/SharpOnvifClient.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ EndProject
5858
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DCDA6E77-4517-4502-BF7A-197087B4E78B}"
5959
ProjectSection(SolutionItems) = preProject
6060
Directory.Build.props = Directory.Build.props
61+
..\README.md = ..\README.md
6162
EndProjectSection
6263
EndProject
6364
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OnvifClient", "OnvifClient\OnvifClient.csproj", "{18D2D269-C900-4CB6-8EE9-7CAA526DB69D}"

src/SharpOnvifServer.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{225EDB0F-03E3-40F1-80D5-78FDE53C777E}"
1111
ProjectSection(SolutionItems) = preProject
1212
Directory.Build.props = Directory.Build.props
13+
..\README.md = ..\README.md
1314
EndProjectSection
1415
EndProject
1516
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpOnvifServer.AccessRules", "SharpOnvifServer.AccessRules\SharpOnvifServer.AccessRules.csproj", "{B4157E4A-7436-496D-B404-F4B55CA6CDA0}"

0 commit comments

Comments
 (0)