Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / FormsAuthenticationCredentials.cs / 3 / FormsAuthenticationCredentials.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /***************************************************************************** From machine.config******************************************************************************/ namespace System.Web.Configuration { using System; using System.Xml; using System.Configuration; using System.Collections.Specialized; using System.Collections; using System.Globalization; using System.IO; using System.Text; using System.Web.Util; using System.ComponentModel; using System.Security.Permissions; // class AuthenticationSection [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class FormsAuthenticationCredentials : ConfigurationElement { private static ConfigurationPropertyCollection _properties; private static readonly ConfigurationProperty _propUsers = new ConfigurationProperty(null, typeof(FormsAuthenticationUserCollection), null, ConfigurationPropertyOptions.IsDefaultCollection); private static readonly ConfigurationProperty _propPasswordFormat = new ConfigurationProperty("passwordFormat", typeof(FormsAuthPasswordFormat), FormsAuthPasswordFormat.SHA1, ConfigurationPropertyOptions.None); static FormsAuthenticationCredentials() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propUsers); _properties.Add(_propPasswordFormat); } public FormsAuthenticationCredentials() { } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("", IsDefaultCollection = true, Options = ConfigurationPropertyOptions.IsDefaultCollection)] public FormsAuthenticationUserCollection Users { get { return (FormsAuthenticationUserCollection)base[_propUsers]; } } [ConfigurationProperty("passwordFormat", DefaultValue = FormsAuthPasswordFormat.SHA1)] public FormsAuthPasswordFormat PasswordFormat { get { return (FormsAuthPasswordFormat)base[_propPasswordFormat]; } set { base[_propPasswordFormat] = value; } } } // class FormsAuthenticationCredentials } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataTemplateSelector.cs
- RayMeshGeometry3DHitTestResult.cs
- TrackingConditionCollection.cs
- EventQueueState.cs
- COM2PictureConverter.cs
- IItemProperties.cs
- DeviceContexts.cs
- DesignerForm.cs
- ProbeDuplexAsyncResult.cs
- ScriptRegistrationManager.cs
- X509IssuerSerialKeyIdentifierClause.cs
- DocumentXPathNavigator.cs
- RSAOAEPKeyExchangeDeformatter.cs
- MouseOverProperty.cs
- ControlTemplate.cs
- PointLightBase.cs
- DropShadowBitmapEffect.cs
- BrowserCapabilitiesCodeGenerator.cs
- Symbol.cs
- WebPartEditVerb.cs
- GenericParameterDataContract.cs
- AssemblyBuilder.cs
- SmiSettersStream.cs
- StructuralType.cs
- EntitySqlQueryState.cs
- CodeMethodInvokeExpression.cs
- BooleanFacetDescriptionElement.cs
- DiagnosticsConfiguration.cs
- ToolStripPanelRenderEventArgs.cs
- TraceSwitch.cs
- SHA1CryptoServiceProvider.cs
- AndCondition.cs
- GridView.cs
- Unit.cs
- Nodes.cs
- DocComment.cs
- ProvideValueServiceProvider.cs
- SoapElementAttribute.cs
- ColorAnimationBase.cs
- RecognizedWordUnit.cs
- ToolStripDropDownItem.cs
- InputManager.cs
- XmlnsCompatibleWithAttribute.cs
- AttributeEmitter.cs
- FormViewRow.cs
- TextComposition.cs
- XmlSchemaInferenceException.cs
- GeometryGroup.cs
- FlowDocumentScrollViewer.cs
- DataPagerFieldCollection.cs
- _StreamFramer.cs
- ZipArchive.cs
- Crc32.cs
- HttpServerVarsCollection.cs
- Zone.cs
- XmlAttributes.cs
- SqlConnectionStringBuilder.cs
- OleDbTransaction.cs
- QilXmlWriter.cs
- x509utils.cs
- CodeTypeParameter.cs
- SecurityRequiresReviewAttribute.cs
- XmlSchemaGroup.cs
- XmlNamespaceDeclarationsAttribute.cs
- WebPartHelpVerb.cs
- RepeaterItemCollection.cs
- CodeDelegateInvokeExpression.cs
- HWStack.cs
- HttpCacheVaryByContentEncodings.cs
- TCEAdapterGenerator.cs
- TreeNodeClickEventArgs.cs
- MaskedTextBox.cs
- UserControl.cs
- Package.cs
- OleDbEnumerator.cs
- NativeMethods.cs
- SeekStoryboard.cs
- CodeDelegateInvokeExpression.cs
- DataServiceRequestOfT.cs
- SecurityDescriptor.cs
- DocumentViewerBaseAutomationPeer.cs
- WinEventQueueItem.cs
- AtomServiceDocumentSerializer.cs
- DeobfuscatingStream.cs
- CultureData.cs
- DisplayMemberTemplateSelector.cs
- XPathPatternParser.cs
- InfoCardSchemas.cs
- SemaphoreFullException.cs
- HttpClientProtocol.cs
- SoapFault.cs
- ComboBox.cs
- ComponentResourceKeyConverter.cs
- LinearKeyFrames.cs
- ChainOfResponsibility.cs
- SignedPkcs7.cs
- OracleException.cs
- ConnectionInterfaceCollection.cs
- VerbConverter.cs
- DataTemplateKey.cs