Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebBrowserNavigatedEventHandler.cs
- SHA1CryptoServiceProvider.cs
- DaylightTime.cs
- CompilationUtil.cs
- DeobfuscatingStream.cs
- XmlElementAttributes.cs
- SharedPersonalizationStateInfo.cs
- GroupLabel.cs
- ReflectionHelper.cs
- WindowsAuthenticationModule.cs
- PermissionListSet.cs
- ToolStripItem.cs
- versioninfo.cs
- BatchStream.cs
- PropertyChangeTracker.cs
- UserControlBuildProvider.cs
- HostingEnvironmentSection.cs
- NameTable.cs
- TrackBar.cs
- Constraint.cs
- RelationshipConstraintValidator.cs
- MarkupExtensionParser.cs
- RuleSetDialog.cs
- DecimalStorage.cs
- Currency.cs
- PersistChildrenAttribute.cs
- ObjectDataSourceMethodEventArgs.cs
- ActiveXSite.cs
- MetadataArtifactLoader.cs
- InstanceDataCollectionCollection.cs
- XPathNodeInfoAtom.cs
- WebPartCatalogAddVerb.cs
- ProtocolReflector.cs
- SupportsEventValidationAttribute.cs
- DropTarget.cs
- XmlNamespaceMapping.cs
- CapabilitiesRule.cs
- ServiceModelTimeSpanValidator.cs
- wmiprovider.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- LeafCellTreeNode.cs
- EvidenceBase.cs
- DockPattern.cs
- ChangePassword.cs
- SqlTrackingWorkflowInstance.cs
- StringBuilder.cs
- BindingValueChangedEventArgs.cs
- DecoderReplacementFallback.cs
- BitConverter.cs
- ConfigurationProperty.cs
- MdiWindowListItemConverter.cs
- CompilerScope.Storage.cs
- DateTimeOffset.cs
- AmbientValueAttribute.cs
- StringTraceRecord.cs
- BoundField.cs
- GuidTagList.cs
- OperationResponse.cs
- ElementMarkupObject.cs
- MsmqOutputChannel.cs
- LinqDataSourceUpdateEventArgs.cs
- Rect3DValueSerializer.cs
- MessageEncoderFactory.cs
- SystemParameters.cs
- ListBase.cs
- TreeChangeInfo.cs
- BasicHttpSecurityMode.cs
- StorageConditionPropertyMapping.cs
- TextClipboardData.cs
- DragEvent.cs
- ResourcePool.cs
- NumericUpDownAccelerationCollection.cs
- PropertyRecord.cs
- SerialErrors.cs
- WebControlsSection.cs
- PermissionSet.cs
- StreamAsIStream.cs
- UnsafeMethods.cs
- HwndSource.cs
- BindingWorker.cs
- UnsafeNetInfoNativeMethods.cs
- TextLineBreak.cs
- ParallelDesigner.cs
- Label.cs
- DrawingVisual.cs
- InvokeProviderWrapper.cs
- ValidationSummary.cs
- RoutedUICommand.cs
- WebRequestModuleElementCollection.cs
- FolderLevelBuildProviderCollection.cs
- CodeMethodReturnStatement.cs
- StructuredTypeEmitter.cs
- StorageEntitySetMapping.cs
- UpDownEvent.cs
- OdbcError.cs
- DisplayMemberTemplateSelector.cs
- PrimarySelectionGlyph.cs
- Menu.cs
- NameSpaceEvent.cs
- ReachFixedPageSerializer.cs