Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / FormsAuthenticationCredentials.cs / 1305376 / 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 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. // //----------------------------------------------------------------------------- /***************************************************************************** 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 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectSpanRewriter.cs
- DecimalConverter.cs
- SystemInfo.cs
- AdjustableArrowCap.cs
- ExpressionBuilderCollection.cs
- HierarchicalDataSourceIDConverter.cs
- NavigationCommands.cs
- CodeSnippetExpression.cs
- ParserHooks.cs
- AdornerPresentationContext.cs
- cache.cs
- DataGridClipboardCellContent.cs
- DoubleAnimation.cs
- VariableQuery.cs
- WindowsRichEdit.cs
- FastEncoder.cs
- ToolStripSystemRenderer.cs
- ValueSerializerAttribute.cs
- HtmlEncodedRawTextWriter.cs
- AutoGeneratedField.cs
- QuaternionAnimationBase.cs
- ToolStripButton.cs
- PostBackTrigger.cs
- LogicalExpr.cs
- TableChangeProcessor.cs
- LostFocusEventManager.cs
- FreezableOperations.cs
- NumberSubstitution.cs
- ScrollItemProviderWrapper.cs
- ScrollableControlDesigner.cs
- InstanceNameConverter.cs
- WebContext.cs
- ProxyWebPartConnectionCollection.cs
- XPathItem.cs
- dbenumerator.cs
- WindowsListViewItemStartMenu.cs
- Exception.cs
- UdpContractFilterBehavior.cs
- DataGridPreparingCellForEditEventArgs.cs
- XmlMemberMapping.cs
- SolidBrush.cs
- InvokeBase.cs
- WebPartTransformerAttribute.cs
- PnrpPeerResolverElement.cs
- LinkLabel.cs
- PatternMatcher.cs
- PopOutPanel.cs
- ProfessionalColors.cs
- InheritablePropertyChangeInfo.cs
- HelpInfo.cs
- FormatConvertedBitmap.cs
- LambdaCompiler.ControlFlow.cs
- Section.cs
- XmlDataSourceView.cs
- PrefixQName.cs
- TemplateEditingVerb.cs
- TablePatternIdentifiers.cs
- AutomationIdentifier.cs
- CanonicalXml.cs
- RoutedEventHandlerInfo.cs
- TdsParserHelperClasses.cs
- PageCatalogPart.cs
- ListViewItemMouseHoverEvent.cs
- SetIterators.cs
- NullReferenceException.cs
- ColumnWidthChangedEvent.cs
- TextFormatterImp.cs
- ButtonField.cs
- InkCanvasAutomationPeer.cs
- TextSelectionHelper.cs
- X509CertificateChain.cs
- SelectionEditingBehavior.cs
- ProviderCommandInfoUtils.cs
- Brushes.cs
- KnownTypeHelper.cs
- BindToObject.cs
- BasicCommandTreeVisitor.cs
- ContextMenu.cs
- TextBox.cs
- DataColumnMappingCollection.cs
- FixedTextPointer.cs
- Tokenizer.cs
- EnumValAlphaComparer.cs
- SecurityTokenRequirement.cs
- SortedSet.cs
- FormattedTextSymbols.cs
- linebase.cs
- CompiledQueryCacheKey.cs
- CatalogZoneBase.cs
- webbrowsersite.cs
- EntityRecordInfo.cs
- HttpCacheVaryByContentEncodings.cs
- ProcessHostConfigUtils.cs
- SetUserLanguageRequest.cs
- HealthMonitoringSection.cs
- SystemKeyConverter.cs
- AstNode.cs
- WriterOutput.cs
- StrongTypingException.cs
- X509AsymmetricSecurityKey.cs