Raritan Computer CC-WSAPI-0B-v5.1.0-E Manuel d'utilisateur Page 46

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 54
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 45
Appendix C: Web Services Development in C#
42
Console.WriteLine("signOff
Response: " + response.result);
}
catch (Exception exception)
{
Console.WriteLine(exception.ToString());
}
}
Console.WriteLine("Press a key to
exit.");
Console.ReadKey(true);
Environment.Exit(0);
}
static void Main(string[] args)
{
ServicePointManager.ServerCertificateValidationCallba
ck =
delegate(Object obj, X509Certificate
certificate, X509Chain chain, SslPolicyErrors errors)
{
X509Certificate
server_certificate =
X509Certificate.CreateFromCertFile(@"C:\cc_certificat
e.cer");
return
server_certificate.Equals(certificate);
};
CCAuthentication.AuthenticationAndAuthorizationServic
eClient auth_service =
Vue de la page 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 52 53 54

Commentaires sur ces manuels

Pas de commentaire