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
- SourceElementsCollection.cs
- WebExceptionStatus.cs
- SmtpDateTime.cs
- ValuePatternIdentifiers.cs
- AssemblyCollection.cs
- FragmentQuery.cs
- SafeRightsManagementSessionHandle.cs
- DynamicMetaObject.cs
- FullTextLine.cs
- httpapplicationstate.cs
- WebMethodAttribute.cs
- CompilationLock.cs
- Lasso.cs
- DivideByZeroException.cs
- ContainerUtilities.cs
- WorkBatch.cs
- Int64.cs
- WorkflowWebService.cs
- XpsDocument.cs
- SocketInformation.cs
- SmiMetaData.cs
- MessageEncoderFactory.cs
- ParameterSubsegment.cs
- EdgeModeValidation.cs
- SqlAggregateChecker.cs
- DetailsViewDeleteEventArgs.cs
- Matrix3DConverter.cs
- Hex.cs
- DataRelationPropertyDescriptor.cs
- FilterElement.cs
- AvTraceDetails.cs
- PenThreadWorker.cs
- NumberSubstitution.cs
- TemplateContainer.cs
- UpdateCompiler.cs
- RequestCachePolicy.cs
- SiteMembershipCondition.cs
- TableParagraph.cs
- Frame.cs
- ItemsPresenter.cs
- OdbcStatementHandle.cs
- ComplusTypeValidator.cs
- SwitchLevelAttribute.cs
- DesignerPerfEventProvider.cs
- ByteFacetDescriptionElement.cs
- MessageSecurityOverMsmqElement.cs
- TextSpan.cs
- DetailsView.cs
- WebPartMenuStyle.cs
- ProvidersHelper.cs
- WebBrowserDocumentCompletedEventHandler.cs
- StatusBarAutomationPeer.cs
- ListBoxItem.cs
- WebControlAdapter.cs
- mediapermission.cs
- MarshalDirectiveException.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ListBoxChrome.cs
- ColorTransformHelper.cs
- SpinWait.cs
- CellRelation.cs
- ToolboxItemCollection.cs
- CacheVirtualItemsEvent.cs
- Cloud.cs
- ExpressionList.cs
- XLinq.cs
- RequestCacheManager.cs
- ItemTypeToolStripMenuItem.cs
- WorkItem.cs
- GridViewAutomationPeer.cs
- BaseParagraph.cs
- DurableRuntimeValidator.cs
- SafeFileHandle.cs
- ListView.cs
- HtmlInputRadioButton.cs
- BasePropertyDescriptor.cs
- SplitterCancelEvent.cs
- ArrayList.cs
- StyleXamlTreeBuilder.cs
- OleDbFactory.cs
- AppDomainManager.cs
- SelectorAutomationPeer.cs
- ThrowHelper.cs
- SparseMemoryStream.cs
- Literal.cs
- ToolStripItemCollection.cs
- NumericExpr.cs
- HtmlControlPersistable.cs
- FlowchartStart.xaml.cs
- DataListCommandEventArgs.cs
- MetaModel.cs
- ContentOnlyMessage.cs
- ProcessHost.cs
- IdnElement.cs
- KnownAssembliesSet.cs
- AppDomainCompilerProxy.cs
- BinHexEncoder.cs
- ConversionValidationRule.cs
- SafeNativeMethods.cs
- DataControlFieldHeaderCell.cs