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

Namespace:  AForge.Video
Assembly:  AForge.Video (in AForge.Video.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public bool ForceBasicAuthentication { get; set; }

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 falseFalsefalsefalse (False in Visual Basic).

See Also