My Code:
The Error:
System.Net.WebException() Error getting response stream (Write: The
authentication or decryption has failed.): SendFailure
at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult
asyncResult) [0x0] in filename unknown:0
at
OK, so apparently it was the same certificates issue, just a different error
message. Solution was:
Add:
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Net.Security;
( other than X509 these may have already been present - didn't check)
In