ServicePoint.ClientCertificate プロパティとは?

辞典・百科事典の検索サービス - Weblio辞書

初めての方へ

参加元一覧


用語解説|全文検索
Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ServicePoint.ClientCertificate プロパティの意味・解説 

.NET Framework クラス ライブラリ リファレンス

日本マイクロソフト株式会社日本マイクロソフト株式会社

ServicePoint.ClientCertificate プロパティ

サーバー送信された最後クライアント証明書取得します。

名前空間: System.Net
アセンブリ: System (system.dll 内)
構文構文

使用例使用

このプロパティの値を表示するコード例を次に示します。

If sp.Certificate Is Nothing
 Then
    Console.WriteLine("Certificate = (null)")
Else
    Console.WriteLine(("Certificate = " + sp.Certificate.ToString()))
End If

If sp.ClientCertificate Is Nothing
 Then
    Console.WriteLine("ClientCertificate = (null)")
Else
    Console.WriteLine(("ClientCertificate = " + sp.ClientCertificate.ToString()))
End If

Console.WriteLine("ProtocolVersion = " + sp.ProtocolVersion.ToString())
Console.WriteLine(("SupportsPipelining = " + sp.SupportsPipelining.ToString()))
if (sp.Certificate == null)
    Console.WriteLine ("Certificate = (null)");
else
    Console.WriteLine ("Certificate = " + sp.Certificate.ToString ());

if (sp.ClientCertificate == null)
    Console.WriteLine ("ClientCertificate = (null)");
else
    Console. WriteLine ("ClientCertificate = " + sp.ClientCertificate.ToString
 ());

Console.WriteLine ("ProtocolVersion = " + sp.ProtocolVersion.ToString ());
Console.WriteLine ("SupportsPipelining = " + sp.SupportsPipelining);

if ( sp->Certificate == nullptr )
   Console::WriteLine( "Certificate = (null)" );
else
   Console::WriteLine( "Certificate = {0}", sp->Certificate );

if ( sp->ClientCertificate == nullptr )
   Console::WriteLine( "Client Certificate = (null)"
 );
else
   Console::WriteLine( "Client Certificate = {0}", sp->ClientCertificate
 );

Console::WriteLine( "ProtocolVersion = {0}", sp->ProtocolVersion->ToString()
 );
Console::WriteLine( "SupportsPipelining = {0}", sp->SupportsPipelining
 );

if (sp.get_Certificate() == null) {
    Console.WriteLine("Certificate = (null)");
}
else {
    Console.WriteLine(("Certificate = " 
        + sp.get_Certificate().ToString()));
}

if (sp.get_ClientCertificate() == null) {
    Console.WriteLine("ClientCertificate = (null)");
}
else {
    Console.WriteLine(("ClientCertificate = " 
        + sp.get_ClientCertificate().ToString()));
}
Console.WriteLine(("ProtocolVersion = " 
    + sp.get_ProtocolVersion().ToString()));
Console.WriteLine(("SupportsPipelining = " 
    + sp.get_SupportsPipelining()));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照





ServicePoint.ClientCertificate プロパティのページへのリンク
ServicePoint.ClientCertificate プロパティのお隣キーワード
モバイル
モバイル版のWeblioは、下記のURLからアクセスしてください。
http://m.weblio.jp/
_ _   


ServicePoint.ClientCertificate プロパティのページの著作権
Weblio 辞書情報提供元は参加元一覧にて確認できます。

  
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2012 Microsoft.All rights reserved.

©2012 Weblio RSS