Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / HttpCookiesSection.cs / 1305376 / HttpCookiesSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Xml; using System.Configuration; using System.Collections.Specialized; using System.Collections; using System.IO; using System.Text; using System.Security.Permissions; public sealed class HttpCookiesSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; private static readonly ConfigurationProperty _propHttpOnlyCookies = new ConfigurationProperty("httpOnlyCookies", typeof(bool), false, ConfigurationPropertyOptions.None); private static readonly ConfigurationProperty _propRequireSSL = new ConfigurationProperty("requireSSL", typeof(bool), false, ConfigurationPropertyOptions.None); private static readonly ConfigurationProperty _propDomain = new ConfigurationProperty("domain", typeof(string), String.Empty, ConfigurationPropertyOptions.None); /**/ static HttpCookiesSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propHttpOnlyCookies); _properties.Add(_propRequireSSL); _properties.Add(_propDomain); } public HttpCookiesSection() { } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("httpOnlyCookies", DefaultValue = false)] public bool HttpOnlyCookies { get { return (bool)base[_propHttpOnlyCookies]; } set { base[_propHttpOnlyCookies] = value; } } [ConfigurationProperty("requireSSL", DefaultValue = false)] public bool RequireSSL { get { return (bool)base[_propRequireSSL]; } set { base[_propRequireSSL] = value; } } [ConfigurationProperty("domain", DefaultValue = "")] public string Domain { get { return (string)base[_propDomain]; } set { base[_propDomain] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RepeatBehavior.cs
- PriorityItem.cs
- ControlIdConverter.cs
- XmlChildNodes.cs
- UIAgentRequest.cs
- DataGridViewAccessibleObject.cs
- GridViewRow.cs
- WsatTransactionFormatter.cs
- BCryptNative.cs
- StyleSelector.cs
- PageParserFilter.cs
- ValidatedControlConverter.cs
- httpstaticobjectscollection.cs
- PathGeometry.cs
- DependencyPropertyKey.cs
- SiteMap.cs
- BitVector32.cs
- BitArray.cs
- ping.cs
- SafeFileMapViewHandle.cs
- Stack.cs
- ZipIORawDataFileBlock.cs
- _DomainName.cs
- Wildcard.cs
- PaintValueEventArgs.cs
- BinaryFormatterWriter.cs
- GraphicsPath.cs
- Exceptions.cs
- MimePart.cs
- SQlBooleanStorage.cs
- SmiRecordBuffer.cs
- GridViewItemAutomationPeer.cs
- DrawingContextDrawingContextWalker.cs
- DataGridViewHitTestInfo.cs
- ValidationRuleCollection.cs
- XmlException.cs
- HashHelpers.cs
- DataObject.cs
- PrimitiveXmlSerializers.cs
- OleDbDataReader.cs
- PropertyTabChangedEvent.cs
- QuaternionConverter.cs
- DataGridViewRowsAddedEventArgs.cs
- SqlDataSourceSelectingEventArgs.cs
- CloudCollection.cs
- IpcClientManager.cs
- DataTableClearEvent.cs
- PolicyException.cs
- DataGridCell.cs
- HMACSHA256.cs
- HatchBrush.cs
- QilGeneratorEnv.cs
- XmlCharacterData.cs
- PointIndependentAnimationStorage.cs
- UpdateProgress.cs
- SecurityDocument.cs
- PrtCap_Public_Simple.cs
- _MultipleConnectAsync.cs
- FlowDocumentPageViewerAutomationPeer.cs
- PrivateFontCollection.cs
- FormsAuthentication.cs
- COM2PictureConverter.cs
- NumericExpr.cs
- MultiPropertyDescriptorGridEntry.cs
- SqlBulkCopyColumnMapping.cs
- DomainUpDown.cs
- DesignTimeTemplateParser.cs
- TransportSecurityBindingElement.cs
- OuterGlowBitmapEffect.cs
- ReadOnlyHierarchicalDataSource.cs
- ClientBuildManagerCallback.cs
- XmlSchemaComplexContent.cs
- ProfilePropertyNameValidator.cs
- DelegateBodyWriter.cs
- dbdatarecord.cs
- BinaryWriter.cs
- ObjectComplexPropertyMapping.cs
- PieceNameHelper.cs
- WebEvents.cs
- ListViewItem.cs
- ApplyImportsAction.cs
- GlobalizationSection.cs
- XmlTextReader.cs
- CodeChecksumPragma.cs
- QueueProcessor.cs
- NameValueFileSectionHandler.cs
- Permission.cs
- DetailsViewPageEventArgs.cs
- ImageSourceValueSerializer.cs
- XslTransformFileEditor.cs
- __Filters.cs
- PerformanceCounterLib.cs
- ExtractCollection.cs
- MILUtilities.cs
- PropertyInformationCollection.cs
- BeginGetFileNameFromUserRequest.cs
- DataGridViewCellParsingEventArgs.cs
- PageContent.cs
- SizeAnimationClockResource.cs
- WebPartZoneCollection.cs