CookielessData Class
Note: This API is now obsolete.
Encapsulates data into an encrypted FormsAuthenticationTicket for a page adapter to include in links in mobile controls. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Namespace: System.Web.Mobile
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] [AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class CookielessData : HybridDictionary
The CookielessData type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CookielessData | Creates an instance of the CookielessData class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of key/value pairs contained in the HybridDictionary. (Inherited from HybridDictionary.) |
![]() | IsFixedSize | Gets a value indicating whether the HybridDictionary has a fixed size. (Inherited from HybridDictionary.) |
![]() | IsReadOnly | Gets a value indicating whether the HybridDictionary is read-only. (Inherited from HybridDictionary.) |
![]() | IsSynchronized | Gets a value indicating whether the HybridDictionary is synchronized (thread safe). (Inherited from HybridDictionary.) |
![]() | Item | Gets or sets the value associated with the specified key. (Inherited from HybridDictionary.) |
![]() | Keys | Gets an ICollection containing the keys in the HybridDictionary. (Inherited from HybridDictionary.) |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the HybridDictionary. (Inherited from HybridDictionary.) |
![]() | Values | Gets an ICollection containing the values in the HybridDictionary. (Inherited from HybridDictionary.) |
| Name | Description | |
|---|---|---|
![]() | Add | Adds an entry with the specified key and value into the HybridDictionary. (Inherited from HybridDictionary.) |
![]() | Clear | Removes all entries from the HybridDictionary. (Inherited from HybridDictionary.) |
![]() | Contains | Determines whether the HybridDictionary contains a specific key. (Inherited from HybridDictionary.) |
![]() | CopyTo | Copies the HybridDictionary entries to a one-dimensional Array instance at the specified index. (Inherited from HybridDictionary.) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an IDictionaryEnumerator that iterates through the HybridDictionary. (Inherited from HybridDictionary.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove | Removes the entry with the specified key from the HybridDictionary. (Inherited from HybridDictionary.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable.GetEnumerator | Returns an IEnumerator that iterates through the HybridDictionary. (Inherited from HybridDictionary.) |
For more information, see HybridDictionary.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
