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
- LinqDataSourceUpdateEventArgs.cs
- BaseDataListActionList.cs
- AssemblyResolver.cs
- MouseOverProperty.cs
- CheckPair.cs
- ControlEvent.cs
- SystemColors.cs
- MasterPage.cs
- HttpResponseHeader.cs
- Module.cs
- EnumConverter.cs
- SchemaName.cs
- SqlVersion.cs
- ThemeDictionaryExtension.cs
- SymmetricCryptoHandle.cs
- PageThemeCodeDomTreeGenerator.cs
- Matrix3D.cs
- HostingEnvironmentSection.cs
- EventWaitHandleSecurity.cs
- XmlNamespaceMapping.cs
- MetadataPropertyCollection.cs
- EpmCustomContentDeSerializer.cs
- XmlSchemaSequence.cs
- HwndSourceParameters.cs
- Relationship.cs
- SmtpCommands.cs
- TransformerConfigurationWizardBase.cs
- GuidConverter.cs
- safePerfProviderHandle.cs
- PersonalizationProviderCollection.cs
- ProfilePropertySettingsCollection.cs
- Soap.cs
- GridView.cs
- Context.cs
- MetadataCache.cs
- EnglishPluralizationService.cs
- Formatter.cs
- SessionPageStatePersister.cs
- CacheAxisQuery.cs
- InvokeWebServiceDesigner.cs
- PolyBezierSegment.cs
- X509InitiatorCertificateServiceElement.cs
- CompiledQuery.cs
- BindStream.cs
- PrintPageEvent.cs
- VerificationException.cs
- mil_sdk_version.cs
- _FtpControlStream.cs
- PermissionRequestEvidence.cs
- StylusPointPropertyId.cs
- CmsInterop.cs
- TextMarkerSource.cs
- RedirectionProxy.cs
- EntityDataSourceDesignerHelper.cs
- BitSet.cs
- Stackframe.cs
- SqlUtils.cs
- DefaultHttpHandler.cs
- CodeArrayIndexerExpression.cs
- mda.cs
- AndCondition.cs
- BigInt.cs
- SaveFileDialog.cs
- DbCommandTree.cs
- PasswordPropertyTextAttribute.cs
- ActionMismatchAddressingException.cs
- HttpCachePolicy.cs
- BuildResultCache.cs
- RootProjectionNode.cs
- DropShadowEffect.cs
- AttributeUsageAttribute.cs
- XmlCharacterData.cs
- ArgumentReference.cs
- SiteOfOriginContainer.cs
- QilScopedVisitor.cs
- TagMapCollection.cs
- StatusBarAutomationPeer.cs
- ProfileGroupSettingsCollection.cs
- HMAC.cs
- PointValueSerializer.cs
- ToolStripSplitButton.cs
- TextTreeInsertElementUndoUnit.cs
- LogLogRecord.cs
- ipaddressinformationcollection.cs
- DependencySource.cs
- SqlFunctionAttribute.cs
- WpfMemberInvoker.cs
- StdRegProviderWrapper.cs
- _ListenerAsyncResult.cs
- CodeDirectoryCompiler.cs
- SystemUnicastIPAddressInformation.cs
- BufferAllocator.cs
- SmtpException.cs
- MediaElementAutomationPeer.cs
- Label.cs
- PathFigureCollection.cs
- ValidatedMobileControlConverter.cs
- GenericXmlSecurityToken.cs
- ViewEvent.cs
- BinaryWriter.cs