HttpListener.UnsafeConnectionNtlmAuthentication プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > HttpListener.UnsafeConnectionNtlmAuthentication プロパティの意味・解説 

HttpListener.UnsafeConnectionNtlmAuthentication プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

NTLM使用されているときに、同じ TCP (Transmission Control Protocol) 接続使用した別の要求認証する必要があるかどうか制御する Boolean 値を取得または設定します

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

Public Property UnsafeConnectionNtlmAuthentication
 As Boolean
Dim instance As HttpListener
Dim value As Boolean

value = instance.UnsafeConnectionNtlmAuthentication

instance.UnsafeConnectionNtlmAuthentication = value
public bool UnsafeConnectionNtlmAuthentication
 { get; set; }
public:
property bool UnsafeConnectionNtlmAuthentication {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_UnsafeConnectionNtlmAuthentication ()

/** @property */
public void set_UnsafeConnectionNtlmAuthentication
 (boolean value)
public function get UnsafeConnectionNtlmAuthentication
 () : boolean

public function set UnsafeConnectionNtlmAuthentication
 (value : boolean)

プロパティ
最初要求の IIdentity が同じ接続行われる後続要求使用される場合trueそれ以外場合false既定値false です。

例外例外
例外種類条件

ObjectDisposedException

このオブジェクト閉じられています。

解説解説
使用例使用例

このプロパティ設定するコード例次に示します

public static void SimpleListenerWithUnsafeAuthentication(string[]
 prefixes)
{
    // URI prefixes are required,
    // for example "http://contoso.com:8080/index/".
    if (prefixes == null || prefixes.Length
 == 0)
      throw new ArgumentException("prefixes");
    // Set up a listener.
    HttpListener listener = new HttpListener();
    foreach (string s in
 prefixes)
    {
        listener.Prefixes.Add(s);
    }
    listener.Start();
    // Specify Negotiate as the authentication scheme.
    listener.AuthenticationSchemes = AuthenticationSchemes.Negotiate;
    // If NTLM is used, we will allow multiple requests on the same
    // connection to use the authentication information of first request.
    // This improves performance but does reduce the security of your
 
    // application. 
    listener.UnsafeConnectionNtlmAuthentication = true;
    // This listener does not want to receive exceptions 
    // that occur when sending the response to the client.
    listener.IgnoreWriteExceptions = true;
    Console.WriteLine("Listening...");
    // ... process requests here.

    listener.Close();
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からHttpListener.UnsafeConnectionNtlmAuthentication プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からHttpListener.UnsafeConnectionNtlmAuthentication プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からHttpListener.UnsafeConnectionNtlmAuthentication プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

HttpListener.UnsafeConnectionNtlmAuthentication プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



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

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

©2025 GRAS Group, Inc.RSS