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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventArgs.cs
- ListMarkerLine.cs
- RSACryptoServiceProvider.cs
- ModelVisual3D.cs
- OdbcConnectionStringbuilder.cs
- ReadOnlyState.cs
- DataGridRowDetailsEventArgs.cs
- SelectionPattern.cs
- AttachmentService.cs
- WorkflowInstanceSuspendedRecord.cs
- PropertyItem.cs
- NullableConverter.cs
- PropertyPathConverter.cs
- ImageCodecInfo.cs
- MaskedTextBox.cs
- EventBuilder.cs
- StreamGeometry.cs
- Effect.cs
- Script.cs
- HwndStylusInputProvider.cs
- MatrixAnimationUsingKeyFrames.cs
- Debug.cs
- ZoneLinkButton.cs
- XPathNodeIterator.cs
- CuspData.cs
- ChooseAction.cs
- SmiXetterAccessMap.cs
- ExpandCollapseIsCheckedConverter.cs
- SystemNetworkInterface.cs
- AjaxFrameworkAssemblyAttribute.cs
- DataBinder.cs
- BaseDataListPage.cs
- RetrieveVirtualItemEventArgs.cs
- CombinedGeometry.cs
- SchemaAttDef.cs
- MembershipSection.cs
- XmlNodeList.cs
- FamilyCollection.cs
- WebDescriptionAttribute.cs
- EmissiveMaterial.cs
- ObjectPersistData.cs
- StubHelpers.cs
- ClusterSafeNativeMethods.cs
- EntityDataSourceMemberPath.cs
- CodeTypeOfExpression.cs
- ScrollPatternIdentifiers.cs
- AssociationSetEnd.cs
- HttpWebRequestElement.cs
- CursorConverter.cs
- Label.cs
- StreamAsIStream.cs
- ConnectionProviderAttribute.cs
- ServerType.cs
- WorkflowQueue.cs
- TransformedBitmap.cs
- UpdateProgress.cs
- HttpCookie.cs
- HitTestParameters.cs
- ProviderMetadata.cs
- SQLSingle.cs
- Schema.cs
- TraceContextRecord.cs
- EndpointDiscoveryMetadataCD1.cs
- DynamicDataResources.Designer.cs
- SchemaComplexType.cs
- XmlExtensionFunction.cs
- XPathNodeList.cs
- SR.cs
- PartialTrustVisibleAssembly.cs
- DataList.cs
- HtmlTextArea.cs
- TextServicesDisplayAttributePropertyRanges.cs
- ThemeableAttribute.cs
- QuarticEase.cs
- ListBoxChrome.cs
- WebRequestModulesSection.cs
- MediaTimeline.cs
- LinkedResourceCollection.cs
- DataSourceControlBuilder.cs
- AdornerLayer.cs
- SpecialTypeDataContract.cs
- ClientRuntimeConfig.cs
- TcpClientChannel.cs
- WorkflowMessageEventArgs.cs
- SqlDataSourceQuery.cs
- DataSysAttribute.cs
- ProcessModule.cs
- ProfilePropertyNameValidator.cs
- NavigationPropertyEmitter.cs
- RepeatButton.cs
- ParallelTimeline.cs
- StringExpressionSet.cs
- VectorAnimationUsingKeyFrames.cs
- SystemParameters.cs
- ProxyAttribute.cs
- HtmlTitle.cs
- WinFormsUtils.cs
- BitmapEffectState.cs
- SHA256.cs
- BindingSourceDesigner.cs