【实例简介】
本demo,基于vs2017开发,采用C#开发语言,实现了onvif协议之抓图功能
【实例截图】
【核心代码】
OnvifClient抓图
└── TestOnvifClient
├── App.config
├── Connected Services
│ ├── devicemgmt
│ │ ├── b-2.xsd
│ │ ├── bf-2.xsd
│ │ ├── common.xsd
│ │ ├── configuration91.svcinfo
│ │ ├── configuration.svcinfo
│ │ ├── devicemgmt.wsdl
│ │ ├── include.xsd
│ │ ├── item.xsd
│ │ ├── onvif.xsd
│ │ ├── Reference.cs
│ │ ├── Reference.svcmap
│ │ ├── t-1.xsd
│ │ ├── TestOnvifClient.devicemgmt.AddScopesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.BackupFile.datasource
│ │ ├── TestOnvifClient.devicemgmt.BinaryData.datasource
│ │ ├── TestOnvifClient.devicemgmt.Capabilities.datasource
│ │ ├── TestOnvifClient.devicemgmt.Certificate.datasource
│ │ ├── TestOnvifClient.devicemgmt.CertificateInformation.datasource
│ │ ├── TestOnvifClient.devicemgmt.CertificateStatus.datasource
│ │ ├── TestOnvifClient.devicemgmt.CreateCertificateResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.CreateUsersResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.DeleteCertificatesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.DeleteDot1XConfigurationResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.DeleteGeoLocationResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.DeleteUsersResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.DeviceServiceCapabilities.datasource
│ │ ├── TestOnvifClient.devicemgmt.DiscoveryMode.datasource
│ │ ├── TestOnvifClient.devicemgmt.DNSInformation.datasource
│ │ ├── TestOnvifClient.devicemgmt.Dot11AvailableNetworks.datasource
│ │ ├── TestOnvifClient.devicemgmt.Dot11Capabilities.datasource
│ │ ├── TestOnvifClient.devicemgmt.Dot11Status.datasource
│ │ ├── TestOnvifClient.devicemgmt.Dot1XConfiguration.datasource
│ │ ├── TestOnvifClient.devicemgmt.DynamicDNSInformation.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetCACertificatesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetCapabilitiesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetCertificateInformationResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetCertificatesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetCertificatesStatusResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetDeviceInformationResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetDot11CapabilitiesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetDot1XConfigurationsResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetDPAddressesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetEndpointReferenceResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetGeoLocationResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetNetworkInterfacesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetNetworkProtocolsResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetPkcs10RequestResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetRelayOutputsResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetScopesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetServicesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetStorageConfigurationsResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetSystemBackupResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetSystemUrisResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetSystemUrisResponseExtension.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetUsersResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.GetWsdlUrlResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.HostnameInformation.datasource
│ │ ├── TestOnvifClient.devicemgmt.IPAddressFilter.datasource
│ │ ├── TestOnvifClient.devicemgmt.LoadCACertificatesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.LoadCertificatesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.LoadCertificateWithPrivateKeyResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.LocationEntity.datasource
│ │ ├── TestOnvifClient.devicemgmt.NetworkGateway.datasource
│ │ ├── TestOnvifClient.devicemgmt.NetworkHost.datasource
│ │ ├── TestOnvifClient.devicemgmt.NetworkInterface.datasource
│ │ ├── TestOnvifClient.devicemgmt.NetworkProtocol.datasource
│ │ ├── TestOnvifClient.devicemgmt.NetworkZeroConfiguration.datasource
│ │ ├── TestOnvifClient.devicemgmt.NTPInformation.datasource
│ │ ├── TestOnvifClient.devicemgmt.RelayOutput.datasource
│ │ ├── TestOnvifClient.devicemgmt.RemoteUser.datasource
│ │ ├── TestOnvifClient.devicemgmt.RemoveScopesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.RestoreSystemResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.ScanAvailableDot11NetworksResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.Scope.datasource
│ │ ├── TestOnvifClient.devicemgmt.Service.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetCertificatesStatusResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetDNSResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetDPAddressesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetDynamicDNSResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetGeoLocationResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetHostnameResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetNetworkDefaultGatewayResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetNetworkProtocolsResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetNTPResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetScopesResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.SetUserResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.StartFirmwareUpgradeResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.StartSystemRestoreResponse.datasource
│ │ ├── TestOnvifClient.devicemgmt.StorageConfiguration.datasource
│ │ ├── TestOnvifClient.devicemgmt.SupportInformation.datasource
│ │ ├── TestOnvifClient.devicemgmt.SystemDateTime.datasource
│ │ ├── TestOnvifClient.devicemgmt.SystemLog.datasource
│ │ ├── TestOnvifClient.devicemgmt.SystemLogUri.datasource
│ │ ├── TestOnvifClient.devicemgmt.User.datasource
│ │ ├── ws-addr.xsd
│ │ ├── xmlmime.xsd
│ │ └── xml.xsd
│ └── Media
│ ├── b-2.xsd
│ ├── bf-2.xsd
│ ├── common.xsd
│ ├── configuration91.svcinfo
│ ├── configuration.svcinfo
│ ├── include.xsd
│ ├── item.xsd
│ ├── media.wsdl
│ ├── onvif.xsd
│ ├── Reference.cs
│ ├── Reference.svcmap
│ ├── t-1.xsd
│ ├── TestOnvifClient.Media.AudioDecoderConfiguration.datasource
│ ├── TestOnvifClient.Media.AudioDecoderConfigurationOptions.datasource
│ ├── TestOnvifClient.Media.AudioEncoderConfiguration.datasource
│ ├── TestOnvifClient.Media.AudioEncoderConfigurationOptions.datasource
│ ├── TestOnvifClient.Media.AudioOutputConfiguration.datasource
│ ├── TestOnvifClient.Media.AudioOutputConfigurationOptions.datasource
│ ├── TestOnvifClient.Media.AudioOutput.datasource
│ ├── TestOnvifClient.Media.AudioSourceConfiguration.datasource
│ ├── TestOnvifClient.Media.AudioSourceConfigurationOptions.datasource
│ ├── TestOnvifClient.Media.AudioSource.datasource
│ ├── TestOnvifClient.Media.Capabilities.datasource
│ ├── TestOnvifClient.Media.CreateOSDResponse.datasource
│ ├── TestOnvifClient.Media.DeleteOSDResponse.datasource
│ ├── TestOnvifClient.Media.GetAudioDecoderConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetAudioEncoderConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetAudioOutputConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetAudioOutputsResponse.datasource
│ ├── TestOnvifClient.Media.GetAudioSourceConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetAudioSourcesResponse.datasource
│ ├── TestOnvifClient.Media.GetCompatibleAudioDecoderConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetCompatibleAudioEncoderConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetCompatibleAudioOutputConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetCompatibleAudioSourceConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetCompatibleMetadataConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetCompatibleVideoAnalyticsConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetCompatibleVideoEncoderConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetCompatibleVideoSourceConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetGuaranteedNumberOfVideoEncoderInstancesResponse.datasource
│ ├── TestOnvifClient.Media.GetMetadataConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetOSDOptionsResponse.datasource
│ ├── TestOnvifClient.Media.GetOSDResponse.datasource
│ ├── TestOnvifClient.Media.GetOSDsResponse.datasource
│ ├── TestOnvifClient.Media.GetProfilesResponse.datasource
│ ├── TestOnvifClient.Media.GetVideoAnalyticsConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetVideoEncoderConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetVideoSourceConfigurationsResponse.datasource
│ ├── TestOnvifClient.Media.GetVideoSourceModesResponse.datasource
│ ├── TestOnvifClient.Media.GetVideoSourcesResponse.datasource
│ ├── TestOnvifClient.Media.MediaUri.datasource
│ ├── TestOnvifClient.Media.MetadataConfiguration.datasource
│ ├── TestOnvifClient.Media.MetadataConfigurationOptions.datasource
│ ├── TestOnvifClient.Media.OSDConfiguration.datasource
│ ├── TestOnvifClient.Media.OSDConfigurationOptions.datasource
│ ├── TestOnvifClient.Media.Profile.datasource
│ ├── TestOnvifClient.Media.SetOSDResponse.datasource
│ ├── TestOnvifClient.Media.VideoAnalyticsConfiguration.datasource
│ ├── TestOnvifClient.Media.VideoEncoderConfiguration.datasource
│ ├── TestOnvifClient.Media.VideoEncoderConfigurationOptions.datasource
│ ├── TestOnvifClient.Media.VideoSourceConfiguration.datasource
│ ├── TestOnvifClient.Media.VideoSourceConfigurationOptions.datasource
│ ├── TestOnvifClient.Media.VideoSource.datasource
│ ├── TestOnvifClient.Media.VideoSourceMode.datasource
│ ├── ws-addr.xsd
│ ├── xmlmime.xsd
│ └── xml.xsd
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ └── DataSources
│ └── System.Xml.XmlElement.datasource
├── TestOnvifClient.csproj
├── UsernameInfo.cs
├── UsernameToken.cs
└── WsPasswordDigest.cs
6 directories, 172 files