Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / Configuration / HttpCookiesSection.cs / 1 / 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; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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. //------------------------------------------------------------------------------ // // 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; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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
- HtmlHistory.cs
- DBDataPermission.cs
- Opcode.cs
- ProxyGenerator.cs
- LicFileLicenseProvider.cs
- HttpClientCertificate.cs
- XmlMtomWriter.cs
- ListDataHelper.cs
- MonitoringDescriptionAttribute.cs
- ComboBoxAutomationPeer.cs
- PropertyIDSet.cs
- DebugView.cs
- PasswordBoxAutomationPeer.cs
- HtmlShim.cs
- GuidelineCollection.cs
- FileChangesMonitor.cs
- MemoryMappedFile.cs
- MailAddressCollection.cs
- SafeCryptoHandles.cs
- HashStream.cs
- SafeRightsManagementPubHandle.cs
- NativeMethods.cs
- DesignerAdapterUtil.cs
- TagPrefixInfo.cs
- ClientSideQueueItem.cs
- ServiceAuthorizationElement.cs
- PeerInputChannelListener.cs
- PropertyItemInternal.cs
- Compensation.cs
- LinqMaximalSubtreeNominator.cs
- TaskFileService.cs
- SpeakInfo.cs
- ObjectListItem.cs
- ListBase.cs
- InvalidFilterCriteriaException.cs
- LabelDesigner.cs
- XmlSerializerSection.cs
- Page.cs
- SimpleType.cs
- DataBindEngine.cs
- ComponentManagerBroker.cs
- ValidationSummary.cs
- ObjectViewListener.cs
- DesignerSerializationOptionsAttribute.cs
- DataGridViewCellCancelEventArgs.cs
- TextEditor.cs
- _NtlmClient.cs
- JsonDeserializer.cs
- SimpleWebHandlerParser.cs
- Token.cs
- WebPartTransformer.cs
- XmlSchemaSimpleContentExtension.cs
- OleDragDropHandler.cs
- Error.cs
- ResolveNameEventArgs.cs
- GlobalAllocSafeHandle.cs
- XmlParserContext.cs
- CacheSection.cs
- FrameSecurityDescriptor.cs
- ScriptingJsonSerializationSection.cs
- ValidateNames.cs
- SharedStatics.cs
- Formatter.cs
- SmtpException.cs
- CmsUtils.cs
- HttpWriter.cs
- ListControl.cs
- ControlsConfig.cs
- SubtreeProcessor.cs
- IdentityReference.cs
- PlacementWorkspace.cs
- DataGridCommandEventArgs.cs
- ValidatorCollection.cs
- ObjectItemNoOpAssemblyLoader.cs
- Internal.cs
- ExponentialEase.cs
- _BaseOverlappedAsyncResult.cs
- AutomationProperty.cs
- FixedSchema.cs
- AutomationPropertyInfo.cs
- ItemCheckedEvent.cs
- SchemaEntity.cs
- SmtpFailedRecipientException.cs
- BulletedListEventArgs.cs
- RegexReplacement.cs
- DrawingAttributesDefaultValueFactory.cs
- TableRowCollection.cs
- SerialPort.cs
- RemoteWebConfigurationHost.cs
- ComPlusDiagnosticTraceSchemas.cs
- CodeIdentifier.cs
- HtmlTextArea.cs
- Message.cs
- SqlUserDefinedTypeAttribute.cs
- DrawingGroupDrawingContext.cs
- XPathNodeIterator.cs
- Validator.cs
- BaseInfoTable.cs
- WindowsFormsSynchronizationContext.cs
- UDPClient.cs