Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- PackWebResponse.cs
- XmlCDATASection.cs
- ExpressionBindingsDialog.cs
- MetadataExporter.cs
- DataGridCellEditEndingEventArgs.cs
- DispatchProxy.cs
- SpellerStatusTable.cs
- Add.cs
- TextHidden.cs
- ImageUrlEditor.cs
- CharacterHit.cs
- CompilationLock.cs
- XmlSchemaSimpleTypeRestriction.cs
- AppDomain.cs
- XmlAttributeHolder.cs
- AssemblyNameUtility.cs
- ContentTextAutomationPeer.cs
- QuaternionAnimationUsingKeyFrames.cs
- SrgsGrammarCompiler.cs
- dbdatarecord.cs
- ZoneLinkButton.cs
- FormatConvertedBitmap.cs
- CLRBindingWorker.cs
- ValueSerializer.cs
- TimeIntervalCollection.cs
- WinFormsSecurity.cs
- PageCodeDomTreeGenerator.cs
- cookie.cs
- DbFunctionCommandTree.cs
- PropertyChangeTracker.cs
- Graph.cs
- SynchronizationLockException.cs
- Int32Rect.cs
- HtmlWindowCollection.cs
- TitleStyle.cs
- BaseParagraph.cs
- TypeConverter.cs
- PeerToPeerException.cs
- EntityViewContainer.cs
- IntSecurity.cs
- PresentationSource.cs
- PropertyManager.cs
- AssemblyBuilder.cs
- CompareValidator.cs
- BaseHashHelper.cs
- Models.cs
- PersistenceTask.cs
- BaseProcessor.cs
- InstanceData.cs
- XNodeValidator.cs
- SiteMapDataSourceView.cs
- NumericUpDownAccelerationCollection.cs
- ExternalException.cs
- EntityContainerAssociationSetEnd.cs
- CLSCompliantAttribute.cs
- Stream.cs
- httpapplicationstate.cs
- ScriptDescriptor.cs
- EmptyEnumerator.cs
- ActivationArguments.cs
- NominalTypeEliminator.cs
- BooleanKeyFrameCollection.cs
- Assembly.cs
- QilDataSource.cs
- StatementContext.cs
- ExceptionUtil.cs
- _ContextAwareResult.cs
- WebCategoryAttribute.cs
- CustomBindingElementCollection.cs
- FixedNode.cs
- CompareInfo.cs
- DataGridRow.cs
- GroupAggregateExpr.cs
- LinkLabelLinkClickedEvent.cs
- DataReceivedEventArgs.cs
- SafeEventLogWriteHandle.cs
- QueryAccessibilityHelpEvent.cs
- TextRange.cs
- Brushes.cs
- TextTreePropertyUndoUnit.cs
- HttpsHostedTransportConfiguration.cs
- PropertyPushdownHelper.cs
- WebPermission.cs
- RecognitionResult.cs
- StyleCollection.cs
- MinimizableAttributeTypeConverter.cs
- IFlowDocumentViewer.cs
- ToolStripDropDownItem.cs
- AttributeUsageAttribute.cs
- XDRSchema.cs
- ImageSource.cs
- BuildProviderAppliesToAttribute.cs
- RijndaelManagedTransform.cs
- CodeMemberField.cs
- DurationConverter.cs
- XmlObjectSerializerReadContext.cs
- TextTrailingCharacterEllipsis.cs
- ObjectRef.cs
- EntityContainerRelationshipSetEnd.cs
- WSFederationHttpBindingCollectionElement.cs