Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Security / MembershipAdapter.cs / 1305376 / MembershipAdapter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Security { using System; using System.Web.Configuration; // NOTE: This type exists solely for System.Web.ApplicationServices.dll which creates and calls // it dynamically using Reflection. DO NOT rename, or change the namespace of this class without // updating the associated code in ndp\fx\src\xsp\System\AppServices\Util\SystemWebProxy.cs. internal class MembershipAdapter : IMembershipAdapter { public MembershipAdapter() { } public MembershipProviderCollection Providers { get { return Membership.Providers; } } public int UserIsOnlineTimeWindow { get { return Membership.UserIsOnlineTimeWindow; } } public bool IsDecryptionKeyAutogenerated { get { return MachineKeySection.IsDecryptionKeyAutogenerated; } } public bool UsingCustomEncryption { get { return MachineKeySection.UsingCustomEncryption; } } public byte[] EncryptOrDecryptData(bool encrypt, byte[] buffer, bool useLegacyMode) { // DevDiv Bugs 137864: Use IVType.None for compatibility with stored passwords even after SP20 compat mode enabled. // This is the ONLY case IVType.None should be used. return MachineKeySection.EncryptOrDecryptData(encrypt, buffer, (byte[])null, 0, buffer.Length, false /* useValidationSymAlgo */, useLegacyMode, IVType.None); } } } // 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
- LinkedList.cs
- InvalidAsynchronousStateException.cs
- ChildTable.cs
- ImageClickEventArgs.cs
- HtmlControlDesigner.cs
- ResourcePool.cs
- ArrayElementGridEntry.cs
- DetailsViewPageEventArgs.cs
- StringValidatorAttribute.cs
- JobCollate.cs
- JoinQueryOperator.cs
- arclist.cs
- HostedNamedPipeTransportManager.cs
- ScalarType.cs
- DataGridViewRowConverter.cs
- StartUpEventArgs.cs
- PublishLicense.cs
- MemoryPressure.cs
- CollectionDataContractAttribute.cs
- EditorAttribute.cs
- HtmlMeta.cs
- PrefixHandle.cs
- WmfPlaceableFileHeader.cs
- Transform3DCollection.cs
- DockEditor.cs
- FigureHelper.cs
- EdgeModeValidation.cs
- TaskFormBase.cs
- Geometry3D.cs
- AvtEvent.cs
- CallSiteHelpers.cs
- ItemsPresenter.cs
- StackBuilderSink.cs
- BooleanExpr.cs
- OverrideMode.cs
- StreamInfo.cs
- SqlDataSourceConnectionPanel.cs
- ConfigXmlElement.cs
- WebEventTraceProvider.cs
- StaticContext.cs
- XmlReflectionImporter.cs
- ActivityCodeDomSerializer.cs
- ExpressionPrefixAttribute.cs
- RequestTimeoutManager.cs
- PropertyKey.cs
- CodeAttributeArgument.cs
- HandlerWithFactory.cs
- HashHelper.cs
- filewebresponse.cs
- GridItemPattern.cs
- DivideByZeroException.cs
- SamlNameIdentifierClaimResource.cs
- SectionXmlInfo.cs
- XamlPathDataSerializer.cs
- PhonemeConverter.cs
- GradientStop.cs
- ItemCollection.cs
- FormViewUpdateEventArgs.cs
- Merger.cs
- SchemaCompiler.cs
- PropertyMetadata.cs
- httpserverutility.cs
- WebPartAuthorizationEventArgs.cs
- FirstMatchCodeGroup.cs
- DataGridViewComboBoxColumnDesigner.cs
- OleDbConnectionFactory.cs
- ControlsConfig.cs
- BamlLocalizabilityResolver.cs
- SharedHttpsTransportManager.cs
- HierarchicalDataSourceControl.cs
- XslAst.cs
- wgx_exports.cs
- CellParagraph.cs
- WindowCollection.cs
- CurrentChangingEventManager.cs
- TrustManagerPromptUI.cs
- TypeDependencyAttribute.cs
- FlowDocumentReader.cs
- ReadOnlyHierarchicalDataSource.cs
- DateTime.cs
- X509SecurityTokenAuthenticator.cs
- ReferencedType.cs
- AuthorizationSection.cs
- SubstitutionList.cs
- ConnectionConsumerAttribute.cs
- XmlSchemaIdentityConstraint.cs
- DataGridRow.cs
- hebrewshape.cs
- UpWmlPageAdapter.cs
- ToolStripItemCollection.cs
- PersonalizationEntry.cs
- AssociativeAggregationOperator.cs
- ConfigurationStrings.cs
- EventProviderWriter.cs
- ThreadStateException.cs
- AmbientLight.cs
- OdbcError.cs
- MenuItemCollectionEditor.cs
- XmlSchemaAttribute.cs
- Stacktrace.cs