この接続の操作に使用する COM 認証レベルを取得または設定します。
Public Property Authentication As AuthenticationLevel
[C#]
public AuthenticationLevel Authentication {get; set;}
[C++]
public: __property AuthenticationLevel get_Authentication();public: __property void set_Authentication(AuthenticationLevel);
[JScript]
public function get Authentication() : AuthenticationLevel;public function set Authentication(AuthenticationLevel);
プロパティ値
この接続の操作に使用する COM 認証レベル。既定値は AuthenticationLevel.Unchanged です。この値は、標準 DCOM ネゴシエーション プロセスに応じて、サーバーから要求される認証レベルをクライアントが使用することを示します。
解説
Windows 2000 以前では、WMI サービスで接続レベルの認証が要求されます。Windows XP 以降では、パケット レベルの認証が要求されます。クライアントで特別な認証設定が必要な場合は、このプロパティを使用して、この特定の接続の認証レベルを管理できます。たとえば、クライアント側ですべての通信を暗号化する必要がある場合は、このプロパティに AuthenticationLevel.PacketPrivacy を設定します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- 直前の呼び出し元の完全信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細の参照先 : 部分信頼コードからのライブラリの使用
参照
ConnectionOptions クラス | ConnectionOptions メンバ | System.Management 名前空間