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
- ConversionContext.cs
- CalendarDayButton.cs
- UnionCqlBlock.cs
- XmlTypeAttribute.cs
- BamlBinaryWriter.cs
- QilList.cs
- UpdateProgress.cs
- DateTimeFormatInfoScanner.cs
- DefaultTextStoreTextComposition.cs
- UInt32.cs
- AuthorizationPolicyTypeElementCollection.cs
- RIPEMD160.cs
- ErrorFormatterPage.cs
- ipaddressinformationcollection.cs
- PropertyChangedEventManager.cs
- EntityContainerAssociationSet.cs
- SoapCodeExporter.cs
- DataGridBoundColumn.cs
- WarningException.cs
- _SslSessionsCache.cs
- basemetadatamappingvisitor.cs
- mactripleDES.cs
- CannotUnloadAppDomainException.cs
- TextModifier.cs
- HttpContext.cs
- ValidatorAttribute.cs
- WindowsToolbarAsMenu.cs
- ObjectParameterCollection.cs
- VoiceInfo.cs
- ActiveDesignSurfaceEvent.cs
- AjaxFrameworkAssemblyAttribute.cs
- XPathAncestorQuery.cs
- COM2Properties.cs
- ByteAnimationUsingKeyFrames.cs
- ColorAnimation.cs
- PrintDialog.cs
- KeyEventArgs.cs
- GroupBox.cs
- XamlPoint3DCollectionSerializer.cs
- UntrustedRecipientException.cs
- WorkflowInstanceExtensionProvider.cs
- Int32Storage.cs
- RangeValuePatternIdentifiers.cs
- MasterPageParser.cs
- CancelEventArgs.cs
- DefaultPrintController.cs
- SafeEventHandle.cs
- DesignerActionHeaderItem.cs
- TimelineGroup.cs
- TraceRecord.cs
- MailBnfHelper.cs
- RightsManagementEncryptionTransform.cs
- BorderGapMaskConverter.cs
- StyleSheetComponentEditor.cs
- HttpServerVarsCollection.cs
- HostSecurityManager.cs
- AppSettingsExpressionBuilder.cs
- ConfigXmlAttribute.cs
- LinkedList.cs
- CommandExpr.cs
- MouseEventArgs.cs
- SelectionChangedEventArgs.cs
- ActivityDesignerHelper.cs
- RangeValidator.cs
- Configuration.cs
- WebPartDeleteVerb.cs
- DataRecordObjectView.cs
- DependencyPropertyAttribute.cs
- TextEditorDragDrop.cs
- _HTTPDateParse.cs
- StatusBar.cs
- UIAgentAsyncEndRequest.cs
- PointAnimationUsingPath.cs
- XmlSchemaSimpleType.cs
- WorkflowViewManager.cs
- WebBaseEventKeyComparer.cs
- CommentEmitter.cs
- ProfileProvider.cs
- JsonUriDataContract.cs
- ParallelSeparator.xaml.cs
- MarkupCompilePass1.cs
- ListViewHitTestInfo.cs
- RowToFieldTransformer.cs
- UnsafeNetInfoNativeMethods.cs
- HtmlInputImage.cs
- FormViewPagerRow.cs
- XmlValidatingReader.cs
- ClientTarget.cs
- QilReplaceVisitor.cs
- WrappedIUnknown.cs
- MaskDesignerDialog.cs
- WindowsFont.cs
- ParserExtension.cs
- PasswordDeriveBytes.cs
- GcSettings.cs
- DrawingCollection.cs
- DesignerResources.cs
- IsolatedStorageFile.cs
- ItemsPresenter.cs
- FacetValues.cs