TrustAllCertificatePolicy gcpp

 using namespace System::Net;  
    using namespace System;
 using namespace System::Security::Cryptography::X509Certificates;  
 public __gc class TrustAllCertificatePolicy :public ICertificatePolicy
 {
  public: TrustAllCertificatePolicy() {}
  public: bool CheckValidationResult(ServicePoint* srvPoint,
          X509Certificate* certificate,
          WebRequest* request,
          int certificateProblem)
  {                       
   if (request->RequestUri->AbsoluteUri == "https://tempuri.org/")
    return true;
   else
    return false;
  }
 };
   
 
 
    inline AAWebService::AAWebService() {
  this->Credentials = new NetworkCredential(S"??",S"????","");
        this->Url = S"https://";
    }

貴公

管仲有病,桓公往問之,曰:「仲父之病矣。漬甚,國人弗諱,寡人將誰屬國?」管仲對曰:「昔者臣盡力竭智,猶未足以知之也。今病在於朝夕之中,臣奚能言?」桓公曰:「此大事也,願仲父之教寡人也。」管仲敬諾,曰:「公誰欲相?」公曰:「鮑叔牙可乎?」 管仲對曰:「不可。夷吾善鮑叔牙。鮑叔牙之為人也,清廉潔直;視不己若者,不比於人;一聞人之過,終身不忘。勿已,則隰朋其可乎?隰朋之為人也,上志而下求,丑不若黃帝,而哀不己若者。其於國也,有不聞也;其於物也,有不知也;其於人也,有不見也。勿已乎,則隰朋可也。」(《呂氏春秋· 貴公》卷一)