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
- CommandCollectionEditor.cs
- PropertyMapper.cs
- Win32Interop.cs
- sqlinternaltransaction.cs
- PackWebRequestFactory.cs
- HostedElements.cs
- XslAstAnalyzer.cs
- SecurityContext.cs
- HeaderedContentControl.cs
- ApplicationManager.cs
- ResourceReader.cs
- MeasureData.cs
- DbDataSourceEnumerator.cs
- XmlSignificantWhitespace.cs
- Identity.cs
- WpfKnownMemberInvoker.cs
- SiteMapNodeCollection.cs
- PersonalizationStateQuery.cs
- DispatcherSynchronizationContext.cs
- InteropEnvironment.cs
- Separator.cs
- DocumentOrderQuery.cs
- ContextDataSource.cs
- QualificationDataItem.cs
- XmlDataSource.cs
- DrawListViewItemEventArgs.cs
- LocalValueEnumerator.cs
- RegexCompiler.cs
- DoubleAnimationClockResource.cs
- TCEAdapterGenerator.cs
- HwndSourceKeyboardInputSite.cs
- PassportPrincipal.cs
- GridViewItemAutomationPeer.cs
- ActivityDesignerResources.cs
- SplitterCancelEvent.cs
- GlobalizationSection.cs
- ProcessThread.cs
- PassportAuthenticationModule.cs
- SubqueryTrackingVisitor.cs
- ConfigurationSectionCollection.cs
- CqlLexer.cs
- RightsManagementErrorHandler.cs
- AmbientLight.cs
- SecurityTokenAttachmentMode.cs
- SolidBrush.cs
- MarkupCompiler.cs
- SmiSettersStream.cs
- ElementUtil.cs
- ContractMapping.cs
- CodeRemoveEventStatement.cs
- ApplicationFileCodeDomTreeGenerator.cs
- StrokeNodeOperations2.cs
- MobileCapabilities.cs
- InputBuffer.cs
- SecureStringHasher.cs
- AppSecurityManager.cs
- PowerStatus.cs
- DataGridViewCellFormattingEventArgs.cs
- TimeoutException.cs
- ContractNamespaceAttribute.cs
- PolyLineSegmentFigureLogic.cs
- SafeFileHandle.cs
- InstanceNotReadyException.cs
- UnsafeNativeMethods.cs
- SiteMapDataSource.cs
- ComponentGuaranteesAttribute.cs
- HttpListenerRequest.cs
- Model3D.cs
- DSASignatureFormatter.cs
- PageCodeDomTreeGenerator.cs
- SQLDouble.cs
- WinEventWrap.cs
- BitmapCodecInfo.cs
- SoapWriter.cs
- XmlSchemaValidator.cs
- RegistryConfigurationProvider.cs
- DoubleAnimationUsingKeyFrames.cs
- RegexCaptureCollection.cs
- XamlStream.cs
- HttpCacheVaryByContentEncodings.cs
- CodeSubDirectoriesCollection.cs
- ReadOnlyDictionary.cs
- ImageField.cs
- ProcessHostFactoryHelper.cs
- Html32TextWriter.cs
- OutputScope.cs
- DynamicRendererThreadManager.cs
- RegularExpressionValidator.cs
- InlineCollection.cs
- XmlDigitalSignatureProcessor.cs
- DataGridViewColumnHeaderCell.cs
- TreeNodeBindingCollection.cs
- ContextMenuService.cs
- DateTimeFormatInfoScanner.cs
- HostedHttpContext.cs
- ComponentTray.cs
- MarkupExtensionReturnTypeAttribute.cs
- ScrollBarRenderer.cs
- DatePickerTextBox.cs
- ParsedRoute.cs