Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ApplicationServices / CreatingCookieEventArgs.cs / 1 / CreatingCookieEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.ApplicationServices
{
using System;
using System.Security.Permissions;
[
AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal),
AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)
]
public class CreatingCookieEventArgs : EventArgs {
private string _userName;
public string UserName {
get { return _userName; }
}
private string _password;
public string Password {
get { return _password; }
}
private string _customCredential ;
public string CustomCredential {
get { return _customCredential;}
}
private bool _isPersistent ;
public bool IsPersistent {
get { return _isPersistent;}
}
private bool _cookieIsSet;
public bool CookieIsSet {
set { _cookieIsSet = value; }
get { return _cookieIsSet; }
}
internal CreatingCookieEventArgs(string username, string password, bool isPersistent, string customCredential ) {
_cookieIsSet = false;
_userName = username;
_password = password;
_password = password;
_isPersistent = isPersistent;
_customCredential = customCredential;
}
//hiding default constructor
private CreatingCookieEventArgs() { }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.ApplicationServices
{
using System;
using System.Security.Permissions;
[
AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal),
AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)
]
public class CreatingCookieEventArgs : EventArgs {
private string _userName;
public string UserName {
get { return _userName; }
}
private string _password;
public string Password {
get { return _password; }
}
private string _customCredential ;
public string CustomCredential {
get { return _customCredential;}
}
private bool _isPersistent ;
public bool IsPersistent {
get { return _isPersistent;}
}
private bool _cookieIsSet;
public bool CookieIsSet {
set { _cookieIsSet = value; }
get { return _cookieIsSet; }
}
internal CreatingCookieEventArgs(string username, string password, bool isPersistent, string customCredential ) {
_cookieIsSet = false;
_userName = username;
_password = password;
_password = password;
_isPersistent = isPersistent;
_customCredential = customCredential;
}
//hiding default constructor
private CreatingCookieEventArgs() { }
}
}
// 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
- AssemblyAttributes.cs
- XmlTextEncoder.cs
- RequestCachePolicy.cs
- WSSecureConversationDec2005.cs
- AsyncSerializedWorker.cs
- DataSourceGroupCollection.cs
- CompilerInfo.cs
- SymLanguageType.cs
- COM2AboutBoxPropertyDescriptor.cs
- KeyInfo.cs
- ConfigUtil.cs
- ValidateNames.cs
- ViewLoader.cs
- ScriptHandlerFactory.cs
- IssuanceLicense.cs
- CuspData.cs
- PropertyValue.cs
- AncillaryOps.cs
- ConfigurationValidatorBase.cs
- DataTableExtensions.cs
- GroupBox.cs
- TCEAdapterGenerator.cs
- HuffmanTree.cs
- IteratorFilter.cs
- BitmapEffectvisualstate.cs
- BoolExpression.cs
- SecurityRuntime.cs
- CommonObjectSecurity.cs
- Column.cs
- SourceFilter.cs
- RolePrincipal.cs
- ServiceOperationParameter.cs
- ValidationHelper.cs
- ViewManagerAttribute.cs
- TabletCollection.cs
- ParamArrayAttribute.cs
- CompareValidator.cs
- PrincipalPermission.cs
- MatrixCamera.cs
- RectangleHotSpot.cs
- SecurityHelper.cs
- DrawingImage.cs
- BaseAsyncResult.cs
- PropertyDescriptor.cs
- BrowserCapabilitiesFactoryBase.cs
- CustomAttributeSerializer.cs
- ActivityLocationReferenceEnvironment.cs
- log.cs
- AccessorTable.cs
- PanelStyle.cs
- SafeArchiveContext.cs
- XmlEnumAttribute.cs
- ErasingStroke.cs
- TextParaLineResult.cs
- ProjectedSlot.cs
- DBConcurrencyException.cs
- TextBounds.cs
- XmlSchemaType.cs
- IntegrationExceptionEventArgs.cs
- CancellationTokenRegistration.cs
- GlyphRunDrawing.cs
- HostedHttpTransportManager.cs
- NavigationProperty.cs
- PropertiesTab.cs
- ManifestBasedResourceGroveler.cs
- XmlnsCache.cs
- VolatileEnlistmentMultiplexing.cs
- BooleanAnimationBase.cs
- QuaternionConverter.cs
- StaticSiteMapProvider.cs
- IdnElement.cs
- ConstraintConverter.cs
- DataGridViewRowPrePaintEventArgs.cs
- AsyncOperationManager.cs
- ListViewItem.cs
- MsmqVerifier.cs
- ComNativeDescriptor.cs
- WCFModelStrings.Designer.cs
- HandleCollector.cs
- UnsupportedPolicyOptionsException.cs
- CompressionTracing.cs
- EmptyElement.cs
- DESCryptoServiceProvider.cs
- VisualTreeHelper.cs
- DecoderBestFitFallback.cs
- RTLAwareMessageBox.cs
- BitArray.cs
- UIAgentAsyncParams.cs
- ObjectDataSourceFilteringEventArgs.cs
- LookupNode.cs
- HtmlInputSubmit.cs
- DataGridBoolColumn.cs
- ProtocolsConfigurationHandler.cs
- UIElement3D.cs
- XhtmlCssHandler.cs
- SelectorItemAutomationPeer.cs
- XPathParser.cs
- SafeEventLogWriteHandle.cs
- SqlMethodAttribute.cs
- AnonymousIdentificationSection.cs