Click or drag to resize
Accord.NET (logo)

JPEGStreamForceBasicAuthentication Property

Force using of basic authentication when connecting to the video source.

Namespace:  Accord.Video
Assembly:  Accord.Video (in Accord.Video.dll) Version: 3.8.0
Syntax
public bool ForceBasicAuthentication { get; set; }
Request Example View Source

Property Value

Type: Boolean
Remarks

For some IP cameras (TrendNET IP cameras, for example) using standard .NET's authentication via credentials does not seem to be working (seems like camera does not request for authentication, but expects corresponding headers to be present on connection request). So this property allows to force basic authentication by adding required HTTP headers when request is sent.

Default value is set to .

See Also