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
- AggregateException.cs
- TimeSpanSecondsConverter.cs
- DependencyObject.cs
- X509ChainElement.cs
- DatasetMethodGenerator.cs
- ObjectParameterCollection.cs
- WrappedIUnknown.cs
- querybuilder.cs
- DataGridItemCollection.cs
- StylusCaptureWithinProperty.cs
- QueryResponse.cs
- ListItemCollection.cs
- CustomLineCap.cs
- Profiler.cs
- CodeDefaultValueExpression.cs
- DesignerEditorPartChrome.cs
- DockProviderWrapper.cs
- HttpListener.cs
- TitleStyle.cs
- DataRowCollection.cs
- SecurityHeaderElementInferenceEngine.cs
- ObjectListDataBindEventArgs.cs
- XmlSchemaComplexContent.cs
- BitmapPalettes.cs
- BasicBrowserDialog.cs
- IncrementalCompileAnalyzer.cs
- GradientPanel.cs
- ApplicationId.cs
- MessageQueueTransaction.cs
- TimeoutValidationAttribute.cs
- ComponentConverter.cs
- DataMemberConverter.cs
- StrokeIntersection.cs
- PersonalizablePropertyEntry.cs
- FileDialog.cs
- DataContractSerializerOperationBehavior.cs
- InheritablePropertyChangeInfo.cs
- MatrixConverter.cs
- RangeValuePatternIdentifiers.cs
- RelationshipDetailsRow.cs
- ProviderSettings.cs
- PersonalizablePropertyEntry.cs
- ManagementInstaller.cs
- QueueProcessor.cs
- WebOperationContext.cs
- DataGridViewCellValueEventArgs.cs
- LoginUtil.cs
- FrugalList.cs
- PasswordTextContainer.cs
- GridViewPageEventArgs.cs
- HtmlControlPersistable.cs
- DataGridViewColumnStateChangedEventArgs.cs
- TextWriterTraceListener.cs
- VectorCollection.cs
- ExpressionPrefixAttribute.cs
- RijndaelManaged.cs
- rsa.cs
- MembershipSection.cs
- ApplicationBuildProvider.cs
- TableLayoutCellPaintEventArgs.cs
- TextTreePropertyUndoUnit.cs
- ConstraintConverter.cs
- HtmlInputHidden.cs
- MenuBindingsEditorForm.cs
- MulticastOption.cs
- isolationinterop.cs
- ChannelBinding.cs
- SessionEndedEventArgs.cs
- ErrorTableItemStyle.cs
- Window.cs
- FontSizeConverter.cs
- CodeTypeDeclarationCollection.cs
- Brush.cs
- X500Name.cs
- HttpFileCollection.cs
- HiddenField.cs
- XmlAttributes.cs
- ConditionedDesigner.cs
- mansign.cs
- CompModSwitches.cs
- RealizedColumnsBlock.cs
- CryptoSession.cs
- SimpleTypeResolver.cs
- AggregatePushdown.cs
- FilterableData.cs
- Models.cs
- SchemaHelper.cs
- StrokeCollectionConverter.cs
- ToolConsole.cs
- StateItem.cs
- AnimationClockResource.cs
- CqlGenerator.cs
- ToolStripPanelRenderEventArgs.cs
- ApplicationInterop.cs
- XmlDocumentType.cs
- ResXDataNode.cs
- Journaling.cs
- tibetanshape.cs
- BindingCompleteEventArgs.cs
- UnsafeMethods.cs