AnonymousIdentificationSection.CookieProtection プロパティ
アセンブリ: System.Web (system.web.dll 内)

Dim instance As AnonymousIdentificationSection Dim value As CookieProtection value = instance.CookieProtection instance.CookieProtection = value
public: property CookieProtection CookieProtection { CookieProtection get (); void set (CookieProtection value); }
/** @property */ public CookieProtection get_CookieProtection () /** @property */ public void set_CookieProtection (CookieProtection value)
public function get CookieProtection () : CookieProtection public function set CookieProtection (value : CookieProtection)
CookieProtection 値の 1 つ。既定値は All です。

Cookie のセキュリティを強化するために、CookieRequireSSL プロパティを true に設定することもできます。
データ検証と暗号化の両方を使用して Cookie を保護する場合は、このプロパティに既定値を使用するようにしてください。このオプションでは、<machineKey> 要素に基づいて、設定されているデータ検証アルゴリズムを使用します。キーの長さが 48 バイト以上の場合、可能であれば 3DES (Triple-DES) が使用されます。

CookieProtection プロパティへのアクセス方法を次のコード例に示します。
' Get CookieProtection. Dim cookieProtection _ As System.Web.Security.CookieProtection = _ anonymousIdentificationSection.CookieProtection Console.WriteLine( _ "Cookie protection: {0}", cookieProtection)
// Get CookieProtection. System.Web.Security.CookieProtection cookieProtection = anonymousIdentificationSection.CookieProtection; Console.WriteLine("Cookie protection: {0}", cookieProtection);

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からAnonymousIdentificationSection.CookieProtection プロパティを検索する場合は、下記のリンクをクリックしてください。

- AnonymousIdentificationSection.CookieProtection プロパティのページへのリンク