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
- SamlAttributeStatement.cs
- SqlNamer.cs
- XmlEncodedRawTextWriter.cs
- XmlSchemaSimpleTypeList.cs
- SoapInteropTypes.cs
- ProfileService.cs
- WebPartDisplayModeEventArgs.cs
- ProgressPage.cs
- ExponentialEase.cs
- DesignerHierarchicalDataSourceView.cs
- TextParagraphProperties.cs
- ADMembershipProvider.cs
- Mouse.cs
- RedistVersionInfo.cs
- RuntimeCompatibilityAttribute.cs
- Win32.cs
- ListDictionaryInternal.cs
- CommandCollectionEditor.cs
- Keywords.cs
- RectConverter.cs
- SortAction.cs
- EncryptedKey.cs
- XmlAtomicValue.cs
- IImplicitResourceProvider.cs
- Trace.cs
- RegexMatch.cs
- EtwTrace.cs
- ObjectAnimationUsingKeyFrames.cs
- Scanner.cs
- ImplicitInputBrush.cs
- WebPartUserCapability.cs
- MsmqInputSessionChannelListener.cs
- RadioButtonList.cs
- Int64AnimationUsingKeyFrames.cs
- StickyNote.cs
- ColorConvertedBitmapExtension.cs
- ChannelServices.cs
- SessionStateModule.cs
- QueueProcessor.cs
- DataSourceXmlSerializer.cs
- DesignerVerbCollection.cs
- StoreItemCollection.Loader.cs
- SafePointer.cs
- Win32Exception.cs
- SubstitutionList.cs
- ErrorTableItemStyle.cs
- BamlBinaryWriter.cs
- PersianCalendar.cs
- ByteStack.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- RegistryPermission.cs
- SystemIPAddressInformation.cs
- XmlQualifiedNameTest.cs
- HiddenFieldPageStatePersister.cs
- SectionXmlInfo.cs
- MsmqQueue.cs
- MDIClient.cs
- Classification.cs
- Models.cs
- SQLInt64Storage.cs
- OleDbDataAdapter.cs
- TextFormatterImp.cs
- WindowsContainer.cs
- Evaluator.cs
- MinMaxParagraphWidth.cs
- ResourcesGenerator.cs
- DragCompletedEventArgs.cs
- Camera.cs
- Rules.cs
- WorkflowEventArgs.cs
- HelpInfo.cs
- EncryptedXml.cs
- documentsequencetextcontainer.cs
- GradientBrush.cs
- CodeGroup.cs
- DataMember.cs
- StateChangeEvent.cs
- SystemColors.cs
- ProtocolsConfigurationHandler.cs
- OdbcTransaction.cs
- ObjectSet.cs
- TextComposition.cs
- DiagnosticTraceSource.cs
- ActivationServices.cs
- SHA256Cng.cs
- SqlStream.cs
- ObjectViewQueryResultData.cs
- DelegateHelpers.Generated.cs
- _Win32.cs
- Int32CollectionConverter.cs
- CatchDesigner.xaml.cs
- SmiConnection.cs
- RuntimeCompatibilityAttribute.cs
- MailHeaderInfo.cs
- UntrustedRecipientException.cs
- EnumUnknown.cs
- CodeDomSerializerException.cs
- RegexCaptureCollection.cs
- BamlResourceDeserializer.cs
- DataSourceCacheDurationConverter.cs