Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / AuthenticateEventArgs.cs / 1 / AuthenticateEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class AuthenticateEventArgs : EventArgs {
private bool _authenticated;
public AuthenticateEventArgs() : this(false) {
}
public AuthenticateEventArgs(bool authenticated) {
_authenticated = authenticated;
}
///
/// Gets or sets the success of the authentication attempt. Would be set by
/// custom authentication logic in the Login.Authenticate event handler.
///
public bool Authenticated {
get {
return _authenticated;
}
set {
_authenticated = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class AuthenticateEventArgs : EventArgs {
private bool _authenticated;
public AuthenticateEventArgs() : this(false) {
}
public AuthenticateEventArgs(bool authenticated) {
_authenticated = authenticated;
}
///
/// Gets or sets the success of the authentication attempt. Would be set by
/// custom authentication logic in the Login.Authenticate event handler.
///
public bool Authenticated {
get {
return _authenticated;
}
set {
_authenticated = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BrushMappingModeValidation.cs
- HttpApplicationFactory.cs
- SqlProviderManifest.cs
- TableLayoutRowStyleCollection.cs
- _FixedSizeReader.cs
- CurrentTimeZone.cs
- BamlRecordWriter.cs
- FreezableOperations.cs
- VirtualPathProvider.cs
- HtmlInputReset.cs
- OleDbEnumerator.cs
- BamlLocalizableResource.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- Switch.cs
- MimeFormImporter.cs
- Margins.cs
- DiscoveryOperationContextExtension.cs
- NameTable.cs
- DataRelation.cs
- PointAnimation.cs
- HttpCachePolicyElement.cs
- CodeSnippetExpression.cs
- WebControlAdapter.cs
- M3DUtil.cs
- Accessors.cs
- ValueOfAction.cs
- BitmapEffectDrawingContextState.cs
- QueryValue.cs
- MenuItemCollection.cs
- BigInt.cs
- QuotedPrintableStream.cs
- PeerNameResolver.cs
- IntegrationExceptionEventArgs.cs
- XMLDiffLoader.cs
- HttpConfigurationContext.cs
- SqlUserDefinedTypeAttribute.cs
- ThousandthOfEmRealDoubles.cs
- CommunicationException.cs
- ValidationContext.cs
- SelectionProcessor.cs
- EpmContentDeSerializerBase.cs
- ConfigurationElementCollection.cs
- DbParameterHelper.cs
- DebugTrace.cs
- DataGridViewImageCell.cs
- TransformedBitmap.cs
- ExceptionUtility.cs
- ResourceExpressionBuilder.cs
- WebPartConnectionsDisconnectVerb.cs
- GeometryConverter.cs
- HttpResponseInternalBase.cs
- PrivilegedConfigurationManager.cs
- GeometryDrawing.cs
- OleDbPermission.cs
- CodeCatchClause.cs
- Command.cs
- MailMessageEventArgs.cs
- WebResponse.cs
- FileFormatException.cs
- XmlArrayItemAttributes.cs
- SmiContextFactory.cs
- Int16AnimationBase.cs
- Point4DConverter.cs
- MasterPageBuildProvider.cs
- RecognitionEventArgs.cs
- StylusPointPropertyId.cs
- Token.cs
- HttpContextWrapper.cs
- RawStylusInputCustomData.cs
- WebPartDeleteVerb.cs
- GatewayIPAddressInformationCollection.cs
- TypedLocationWrapper.cs
- EntityDataSourceDataSelectionPanel.cs
- AnnotationHelper.cs
- PopupEventArgs.cs
- DelegatedStream.cs
- ToolStripOverflow.cs
- System.Data.OracleClient_BID.cs
- ActionFrame.cs
- XmlRootAttribute.cs
- AssemblyNameProxy.cs
- RecordBuilder.cs
- RSAOAEPKeyExchangeFormatter.cs
- PixelFormatConverter.cs
- ReflectEventDescriptor.cs
- StringValidatorAttribute.cs
- ArrangedElementCollection.cs
- CharEntityEncoderFallback.cs
- UIElementAutomationPeer.cs
- ZoneIdentityPermission.cs
- SmtpAuthenticationManager.cs
- Quaternion.cs
- CfgParser.cs
- CodeVariableReferenceExpression.cs
- XMLDiffLoader.cs
- SelectedDatesCollection.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SystemFonts.cs
- RelOps.cs
- FunctionNode.cs