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
- PropertyOverridesDialog.cs
- FileSystemEventArgs.cs
- SiteMapNodeItemEventArgs.cs
- ToolbarAUtomationPeer.cs
- Error.cs
- HttpEncoderUtility.cs
- XslException.cs
- RegexParser.cs
- PtsPage.cs
- Properties.cs
- GridViewSelectEventArgs.cs
- TypeElement.cs
- ProviderConnectionPointCollection.cs
- ProtocolViolationException.cs
- WebPartsSection.cs
- ScriptingAuthenticationServiceSection.cs
- EntityDataSourceQueryBuilder.cs
- DataTableReader.cs
- TableItemStyle.cs
- WebEventTraceProvider.cs
- WebScriptEnablingElement.cs
- ListManagerBindingsCollection.cs
- ToolTipService.cs
- ClientType.cs
- CounterSet.cs
- UserControlAutomationPeer.cs
- SectionUpdates.cs
- XmlSchemaSet.cs
- ContentElement.cs
- LocatorPart.cs
- ColorConverter.cs
- PeerApplication.cs
- ExecutionContext.cs
- EntityObject.cs
- XmlSchemaSequence.cs
- AnimationException.cs
- WindowsTreeView.cs
- ScopedMessagePartSpecification.cs
- ErrorTableItemStyle.cs
- FontWeightConverter.cs
- SingletonChannelAcceptor.cs
- Util.cs
- SelectionRangeConverter.cs
- XMLUtil.cs
- ErrorStyle.cs
- ConnectionStringsExpressionBuilder.cs
- CssTextWriter.cs
- TraceContextEventArgs.cs
- RectangleF.cs
- StructuralCache.cs
- ToolStripStatusLabel.cs
- serverconfig.cs
- SignatureHelper.cs
- DrawingBrush.cs
- ListViewItemMouseHoverEvent.cs
- BStrWrapper.cs
- ColorConvertedBitmapExtension.cs
- DefaultEventAttribute.cs
- NativeRecognizer.cs
- DiscoveryClientOutputChannel.cs
- ObjectDataSourceView.cs
- InfoCardSymmetricCrypto.cs
- PageOrientation.cs
- Resources.Designer.cs
- UseAttributeSetsAction.cs
- SchemaImporterExtensionElementCollection.cs
- TypedTableBase.cs
- FontWeightConverter.cs
- Point3DAnimationBase.cs
- WindowsBrush.cs
- DbConnectionPoolIdentity.cs
- ConnectionStringSettings.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- DataGridToolTip.cs
- BinaryFormatterWriter.cs
- MissingManifestResourceException.cs
- FactoryGenerator.cs
- XmlMtomReader.cs
- ManifestSignatureInformation.cs
- IsolatedStorageException.cs
- EditorPartCollection.cs
- XmlDataSourceNodeDescriptor.cs
- PrePostDescendentsWalker.cs
- ExpressionLexer.cs
- VisualProxy.cs
- SqlClientPermission.cs
- OleDbRowUpdatingEvent.cs
- SafeTimerHandle.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- AbstractExpressions.cs
- XsltCompileContext.cs
- XmlSignatureProperties.cs
- Calendar.cs
- Drawing.cs
- wpf-etw.cs
- ServiceHostFactory.cs
- HistoryEventArgs.cs
- MenuBase.cs
- AggregateNode.cs
- XmlResolver.cs