ICertificatePolicy.cs 402 B

12345678910111213141516171819202122
  1. //
  2. // System.Net.ICertificatePolicy.cs
  3. //
  4. // Author:
  5. // Lawrence Pit ([email protected])
  6. //
  7. using System.Security.Cryptography.X509Certificates;
  8. namespace System.Net {
  9. // <remarks>
  10. // </remarks>
  11. public interface ICertificatePolicy {
  12. bool CheckValidationResult (
  13. ServicePoint srvPoint,
  14. X509Certificate certificate,
  15. WebRequest request,
  16. int certificateProblem
  17. );
  18. }
  19. }