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
- ShaderEffect.cs
- InvokePattern.cs
- XmlDataProvider.cs
- PropertyFilterAttribute.cs
- DetailsViewActionList.cs
- RegexCharClass.cs
- TrackingSection.cs
- SqlDataSourceRefreshSchemaForm.cs
- SQLDecimal.cs
- RoleGroup.cs
- RouteCollection.cs
- TdsParserHelperClasses.cs
- DocumentViewer.cs
- Duration.cs
- WmlLinkAdapter.cs
- XXXOnTypeBuilderInstantiation.cs
- TypedColumnHandler.cs
- EntitySqlQueryCacheKey.cs
- Renderer.cs
- DbReferenceCollection.cs
- Propagator.JoinPropagator.cs
- UnknownWrapper.cs
- EntityContainerAssociationSet.cs
- TogglePattern.cs
- EncodingFallbackAwareXmlTextWriter.cs
- PrefixQName.cs
- BoundPropertyEntry.cs
- Nodes.cs
- EncoderExceptionFallback.cs
- EventLogInternal.cs
- ItemMap.cs
- XmlObjectSerializerReadContextComplexJson.cs
- HelpKeywordAttribute.cs
- ArrayTypeMismatchException.cs
- DesignerActionItem.cs
- UInt32Storage.cs
- ReadOnlyCollection.cs
- MediaContextNotificationWindow.cs
- SqlUtils.cs
- BookmarkNameHelper.cs
- ExpressionEditorAttribute.cs
- datacache.cs
- SessionEndingEventArgs.cs
- IdleTimeoutMonitor.cs
- ISFClipboardData.cs
- ConfigurationManagerInternalFactory.cs
- DataGridCell.cs
- DataGridViewDataErrorEventArgs.cs
- LayoutManager.cs
- ToolStripControlHost.cs
- Event.cs
- DataBoundLiteralControl.cs
- TextEvent.cs
- C14NUtil.cs
- ClientTargetSection.cs
- COAUTHIDENTITY.cs
- PointAnimationUsingPath.cs
- HttpWebRequest.cs
- PathStreamGeometryContext.cs
- embossbitmapeffect.cs
- HttpCachePolicyBase.cs
- _DomainName.cs
- CharKeyFrameCollection.cs
- NetworkStream.cs
- HMACSHA256.cs
- WmlListAdapter.cs
- CompilerState.cs
- ListViewCancelEventArgs.cs
- hresults.cs
- WsdlImporter.cs
- GroupByExpressionRewriter.cs
- WebPartZoneCollection.cs
- PageContent.cs
- HtmlString.cs
- GridViewItemAutomationPeer.cs
- TextServicesPropertyRanges.cs
- CqlGenerator.cs
- ObjectSet.cs
- RequestCacheValidator.cs
- KnownTypesHelper.cs
- CleanUpVirtualizedItemEventArgs.cs
- RelatedImageListAttribute.cs
- grammarelement.cs
- ObjectDisposedException.cs
- XmlSchemaAnnotated.cs
- IdentityHolder.cs
- OledbConnectionStringbuilder.cs
- ColorConvertedBitmapExtension.cs
- ReliableChannelFactory.cs
- FormView.cs
- EarlyBoundInfo.cs
- KeyConverter.cs
- LineBreakRecord.cs
- PartitionedStreamMerger.cs
- ActivationWorker.cs
- TemplateParser.cs
- ResourceExpressionEditorSheet.cs
- DPCustomTypeDescriptor.cs
- LeftCellWrapper.cs
- TaiwanLunisolarCalendar.cs