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
- IPipelineRuntime.cs
- SqlWebEventProvider.cs
- ResourcesGenerator.cs
- DataContractSerializerSection.cs
- ClientSettings.cs
- CanonicalFormWriter.cs
- FileSecurity.cs
- DataErrorValidationRule.cs
- WaitHandle.cs
- BackStopAuthenticationModule.cs
- ApplicationSettingsBase.cs
- TraceHelpers.cs
- Visitor.cs
- TcpDuplicateContext.cs
- ValidationResult.cs
- ObjectAnimationUsingKeyFrames.cs
- ViewBox.cs
- Package.cs
- SamlConditions.cs
- MouseEventArgs.cs
- ExtendedProtectionPolicy.cs
- X509Certificate2.cs
- Clock.cs
- SiteOfOriginContainer.cs
- OleStrCAMarshaler.cs
- TextServicesLoader.cs
- WorkItem.cs
- DataFormats.cs
- DomNameTable.cs
- TextTreeRootNode.cs
- TableStyle.cs
- XmlWhitespace.cs
- StubHelpers.cs
- unsafeIndexingFilterStream.cs
- CompiledQuery.cs
- XmlQueryType.cs
- SQLMoneyStorage.cs
- UrlAuthorizationModule.cs
- SafeCryptContextHandle.cs
- RemoteWebConfigurationHost.cs
- KeyBinding.cs
- ToolStripDropDownClosingEventArgs.cs
- BitmapInitialize.cs
- CustomBindingElement.cs
- WindowProviderWrapper.cs
- SoapAttributeOverrides.cs
- ExpressionDumper.cs
- Size3D.cs
- SessionState.cs
- EventSchemaTraceListener.cs
- ReliableMessagingVersionConverter.cs
- ExpandCollapsePattern.cs
- HitTestParameters3D.cs
- jithelpers.cs
- DebugHandleTracker.cs
- CheckBoxList.cs
- XmlSchemaAttributeGroup.cs
- SystemEvents.cs
- LicenseException.cs
- TargetControlTypeAttribute.cs
- _TLSstream.cs
- ConversionHelper.cs
- MSHTMLHost.cs
- RequestQueryProcessor.cs
- BlurBitmapEffect.cs
- EncodingDataItem.cs
- DataServiceQuery.cs
- SoundPlayerAction.cs
- commandenforcer.cs
- RemotingConfiguration.cs
- WpfGeneratedKnownTypes.cs
- SamlAuthorizationDecisionStatement.cs
- ReliabilityContractAttribute.cs
- SoapCodeExporter.cs
- MonthCalendar.cs
- SafeSecurityHandles.cs
- Mappings.cs
- AccessDataSource.cs
- SoapClientMessage.cs
- ProfileManager.cs
- EntryWrittenEventArgs.cs
- BufferedGenericXmlSecurityToken.cs
- LoginDesignerUtil.cs
- ObjectDataSourceStatusEventArgs.cs
- ByteStreamGeometryContext.cs
- ScrollEvent.cs
- FixedSOMLineCollection.cs
- ApplicationInfo.cs
- CfgSemanticTag.cs
- MethodRental.cs
- KoreanCalendar.cs
- SimpleFileLog.cs
- NameValueConfigurationElement.cs
- LayoutUtils.cs
- Int32AnimationUsingKeyFrames.cs
- QueueAccessMode.cs
- XmlCharCheckingReader.cs
- SessionPageStateSection.cs
- PolyQuadraticBezierSegment.cs
- GenericEnumerator.cs