Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ReceiveDesigner.xaml.cs
- CacheModeConverter.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- ConfigurationManagerHelper.cs
- Pair.cs
- ContextMenuService.cs
- _NetRes.cs
- hresults.cs
- EventMappingSettingsCollection.cs
- TranslateTransform.cs
- WebBrowserProgressChangedEventHandler.cs
- COM2Enum.cs
- SqlConnectionManager.cs
- TableStyle.cs
- ToolStripScrollButton.cs
- WindowAutomationPeer.cs
- TagPrefixInfo.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- Decoder.cs
- smtpconnection.cs
- SafeRegistryHandle.cs
- DataGridViewSelectedColumnCollection.cs
- LicFileLicenseProvider.cs
- SourceElementsCollection.cs
- ListItemCollection.cs
- CodeStatement.cs
- Math.cs
- ProtectedUri.cs
- DataGridViewRowEventArgs.cs
- TimeoutValidationAttribute.cs
- ScriptReferenceEventArgs.cs
- GatewayDefinition.cs
- ValueProviderWrapper.cs
- EntityDesignerBuildProvider.cs
- ResXBuildProvider.cs
- WebPartDeleteVerb.cs
- TypeListConverter.cs
- WebServiceErrorEvent.cs
- SimpleApplicationHost.cs
- IPHostEntry.cs
- PageParserFilter.cs
- XmlSchemaObjectTable.cs
- WebEvents.cs
- TdsEnums.cs
- XPathNodeIterator.cs
- ConfigUtil.cs
- ScriptResourceAttribute.cs
- EntityCommandCompilationException.cs
- HtmlMeta.cs
- TemplateAction.cs
- RoutedEventArgs.cs
- X500Name.cs
- SystemFonts.cs
- safex509handles.cs
- ResXFileRef.cs
- ASCIIEncoding.cs
- PaginationProgressEventArgs.cs
- DetailsViewUpdateEventArgs.cs
- KnownTypeDataContractResolver.cs
- AutoSizeToolBoxItem.cs
- LinkedList.cs
- ExpressionCopier.cs
- TextTreeTextElementNode.cs
- DbConnectionClosed.cs
- ObjectDataSourceDisposingEventArgs.cs
- SQLInt16Storage.cs
- SiteMapDataSource.cs
- UserPreferenceChangedEventArgs.cs
- ByteStack.cs
- AppDomainManager.cs
- contentDescriptor.cs
- Oid.cs
- SafeTimerHandle.cs
- DocumentOrderQuery.cs
- Console.cs
- IODescriptionAttribute.cs
- RenameRuleObjectDialog.cs
- SqlWebEventProvider.cs
- VirtualDirectoryMapping.cs
- DataGridViewCellStateChangedEventArgs.cs
- BinaryWriter.cs
- SpeechRecognitionEngine.cs
- HTMLTagNameToTypeMapper.cs
- ClosableStream.cs
- GenericUriParser.cs
- CompensationParticipant.cs
- DesignTimeXamlWriter.cs
- DesignerTransactionCloseEvent.cs
- WebPartAddingEventArgs.cs
- SiteMapSection.cs
- CommandPlan.cs
- oledbconnectionstring.cs
- FamilyMap.cs
- DBConnectionString.cs
- EventSchemaTraceListener.cs
- ListControl.cs
- LeaseManager.cs
- _SpnDictionary.cs
- WebPartCloseVerb.cs
- CorrelationService.cs