Bonnie:
The code is as follows:
using System;
using System.Net;
using System.Security;
using System.Web;
namespace ClassLibrary1
{
public class Class1
{
public class MyPolicy : ICertificatePolicy
{
bool ICertificatePolicy.CheckValidationResult(ServicePoint
srvPoint, X509Certificate cert, WebRequest request, int certificateProblem)
{
return true;
}
}
}
}
The error I'm getting is "The type or namespace name 'X509Certificate' could not be found (are you missing using a directive or assembly reference?"
I tried all system's directives but none get rid of the message and this is my first time using C# and my only hope that this maybe work.
AiR
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only