Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bypass Certificate
Message
De
11/11/2007 03:39:25
Aida I. Rivera
Air Information Systems
San Juan, Porto Rico
 
 
À
10/11/2007 12:16:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01268221
Message ID:
01268330
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform