Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / Security / MembershipValidatePasswordEventArgs.cs / 1 / MembershipValidatePasswordEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * ValidatePasswordEventArgs class * * Copyright (c) 1999 Microsoft Corporation */ namespace System.Web.Security { using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ValidatePasswordEventArgs : EventArgs { private string _userName; private string _password; private bool _isNewUser; private bool _cancel; private Exception _failureInformation; public ValidatePasswordEventArgs( string userName, string password, bool isNewUser ) { _userName = userName; _password = password; _isNewUser = isNewUser; _cancel = false; } public string UserName { get{ return _userName; } } public string Password { get{ return _password; } } public bool IsNewUser { get{ return _isNewUser; } } public bool Cancel { get{ return _cancel; } set{ _cancel = value; } } public Exception FailureInformation { get{ return _failureInformation; } set{ _failureInformation = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * ValidatePasswordEventArgs class * * Copyright (c) 1999 Microsoft Corporation */ namespace System.Web.Security { using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ValidatePasswordEventArgs : EventArgs { private string _userName; private string _password; private bool _isNewUser; private bool _cancel; private Exception _failureInformation; public ValidatePasswordEventArgs( string userName, string password, bool isNewUser ) { _userName = userName; _password = password; _isNewUser = isNewUser; _cancel = false; } public string UserName { get{ return _userName; } } public string Password { get{ return _password; } } public bool IsNewUser { get{ return _isNewUser; } } public bool Cancel { get{ return _cancel; } set{ _cancel = value; } } public Exception FailureInformation { get{ return _failureInformation; } set{ _failureInformation = 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
- RouteData.cs
- FileLogRecord.cs
- WorkflowRuntimeServicesBehavior.cs
- IconBitmapDecoder.cs
- WebServiceMethodData.cs
- NotificationContext.cs
- StructuralCache.cs
- CanonicalFontFamilyReference.cs
- FtpWebResponse.cs
- XmlSchemaObjectTable.cs
- BasicDesignerLoader.cs
- _Events.cs
- QueryGenerator.cs
- shaper.cs
- DbConnectionPoolGroup.cs
- newinstructionaction.cs
- SHA512Managed.cs
- DeferredTextReference.cs
- StorageRoot.cs
- Registry.cs
- BinaryObjectWriter.cs
- AccessKeyManager.cs
- WebPartMenuStyle.cs
- LabelDesigner.cs
- DataListItem.cs
- IndexedString.cs
- ErrorInfoXmlDocument.cs
- InternalBufferOverflowException.cs
- SqlTriggerAttribute.cs
- WebServiceHandlerFactory.cs
- WebHttpSecurity.cs
- SrgsText.cs
- IxmlLineInfo.cs
- FixedSOMImage.cs
- ChangeTracker.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- AppSecurityManager.cs
- FlowPanelDesigner.cs
- Timer.cs
- TextDecoration.cs
- ProfileWorkflowElement.cs
- BindingNavigator.cs
- TreeNodeBindingCollection.cs
- InputMethodStateChangeEventArgs.cs
- _TransmitFileOverlappedAsyncResult.cs
- HttpProfileBase.cs
- ComplexTypeEmitter.cs
- DbgUtil.cs
- Relationship.cs
- UnlockInstanceAsyncResult.cs
- MD5.cs
- JoinGraph.cs
- URIFormatException.cs
- EntityDesignerDataSourceView.cs
- XmlEncoding.cs
- PropertyMap.cs
- SqlDataSourceQueryEditorForm.cs
- DataMemberFieldEditor.cs
- DecimalAnimation.cs
- GestureRecognitionResult.cs
- DesignerCategoryAttribute.cs
- HTTPRemotingHandler.cs
- CopyEncoder.cs
- BaseResourcesBuildProvider.cs
- DynamicDocumentPaginator.cs
- LabelDesigner.cs
- Color.cs
- InlineUIContainer.cs
- ImpersonationContext.cs
- XmlSerializationWriter.cs
- BuilderInfo.cs
- Effect.cs
- __TransparentProxy.cs
- MatrixAnimationUsingPath.cs
- MemoryPressure.cs
- RectConverter.cs
- App.cs
- CellIdBoolean.cs
- ButtonBaseAdapter.cs
- ReceiveActivityDesignerTheme.cs
- FilterQuery.cs
- Keyboard.cs
- PerSessionInstanceContextProvider.cs
- SecurityDescriptor.cs
- NotImplementedException.cs
- AsymmetricKeyExchangeDeformatter.cs
- TextBreakpoint.cs
- itemelement.cs
- DesignerUtils.cs
- NetMsmqSecurityElement.cs
- BitmapEncoder.cs
- HMAC.cs
- XmlNodeList.cs
- SqlUserDefinedTypeAttribute.cs
- MemoryPressure.cs
- _ContextAwareResult.cs
- ValidationHelper.cs
- COAUTHINFO.cs
- TemplateField.cs
- TrustLevel.cs