I'm trying to connect to an Axis camera that its onvif user is created and is active and i got this error:
One or more errors occurred. (The remote server returned an unexpected response: (400) Bad Request.)
I found a code here and in win forms application it works great but in a dotnet core web api the following line does not work:
mediaClient.ClientCredentials.HttpDigest.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation;
That's why i installed this package.
I'm trying to connect to an Axis camera that its onvif user is created and is active and i got this error:
One or more errors occurred. (The remote server returned an unexpected response: (400) Bad Request.)
I found a code here and in win forms application it works great but in a dotnet core web api the following line does not work:
mediaClient.ClientCredentials.HttpDigest.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation;
That's why i installed this package.