Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ColorDialog.cs
- BuilderInfo.cs
- ToolStripGrip.cs
- ValidationErrorCollection.cs
- HashCryptoHandle.cs
- DataPagerCommandEventArgs.cs
- CaseCqlBlock.cs
- ParserHooks.cs
- WCFServiceClientProxyGenerator.cs
- SafeRightsManagementHandle.cs
- HtmlInputText.cs
- XmlCDATASection.cs
- HttpAsyncResult.cs
- DataGridToolTip.cs
- XamlTemplateSerializer.cs
- CurrentChangingEventArgs.cs
- CFStream.cs
- URLString.cs
- StagingAreaInputItem.cs
- NotFiniteNumberException.cs
- ExternalException.cs
- InstanceDescriptor.cs
- ProfileProvider.cs
- ReflectionServiceProvider.cs
- CollectionBase.cs
- UIElement3D.cs
- FrameworkObject.cs
- WorkItem.cs
- ModuleElement.cs
- ConfigurationSettings.cs
- WebFormDesignerActionService.cs
- ToolStripItemClickedEventArgs.cs
- ContextMenuStrip.cs
- XmlNodeReader.cs
- SiteIdentityPermission.cs
- SqlBuilder.cs
- DataGridViewCellStyleConverter.cs
- Int64Storage.cs
- Timer.cs
- CodeAttributeDeclarationCollection.cs
- CodeTypeReferenceCollection.cs
- EventRecordWrittenEventArgs.cs
- EntityDataSourceSelectedEventArgs.cs
- CompiledAction.cs
- BoundPropertyEntry.cs
- Rijndael.cs
- XpsFilter.cs
- SR.cs
- SingleTagSectionHandler.cs
- StringUtil.cs
- ScaleTransform.cs
- DataGridViewColumnCollection.cs
- CodeIdentifier.cs
- CodeMemberMethod.cs
- RawStylusInputCustomData.cs
- ReadOnlyMetadataCollection.cs
- DiscardableAttribute.cs
- WebPartTracker.cs
- GridViewColumn.cs
- DetailsViewCommandEventArgs.cs
- SqlBulkCopyColumnMappingCollection.cs
- ColorKeyFrameCollection.cs
- OdbcError.cs
- ToolTipService.cs
- StateMachineWorkflowInstance.cs
- ComboBoxItem.cs
- SqlReferenceCollection.cs
- SecurityCookieModeValidator.cs
- SecurityContextTokenCache.cs
- Mutex.cs
- RemoteHelper.cs
- InitializationEventAttribute.cs
- Permission.cs
- DoWorkEventArgs.cs
- MobileListItemCollection.cs
- SystemResourceKey.cs
- Utils.cs
- ToolStripArrowRenderEventArgs.cs
- InputBindingCollection.cs
- BufferAllocator.cs
- CodeStatement.cs
- UndoManager.cs
- SplayTreeNode.cs
- SiteMapNodeItemEventArgs.cs
- DynamicPhysicalDiscoSearcher.cs
- TemplateControlParser.cs
- ReaderWriterLockWrapper.cs
- DbTransaction.cs
- BoundsDrawingContextWalker.cs
- CharacterMetrics.cs
- TraceEventCache.cs
- XmlWriter.cs
- SqlDelegatedTransaction.cs
- DesignerTextBoxAdapter.cs
- TableItemStyle.cs
- ColorConvertedBitmap.cs
- DataListCommandEventArgs.cs
- CompositeKey.cs
- TransformedBitmap.cs
- CoTaskMemSafeHandle.cs