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
- CompositionTarget.cs
- StreamGeometryContext.cs
- TypeToTreeConverter.cs
- BitSet.cs
- TrackingCondition.cs
- Identifier.cs
- XmlWriter.cs
- ThicknessAnimationUsingKeyFrames.cs
- State.cs
- ListViewTableRow.cs
- WindowShowOrOpenTracker.cs
- XPathScanner.cs
- rsa.cs
- MediaContext.cs
- Socket.cs
- ListBox.cs
- CustomTrackingQuery.cs
- DbParameterHelper.cs
- ReflectionTypeLoadException.cs
- validationstate.cs
- ConstructorBuilder.cs
- OdbcDataAdapter.cs
- CrossContextChannel.cs
- ToolStripSplitStackLayout.cs
- CodeTypeDelegate.cs
- FamilyTypeface.cs
- PieceNameHelper.cs
- TextTreeTextNode.cs
- HttpListenerRequestUriBuilder.cs
- SafeNativeMethodsCLR.cs
- SelectionProcessor.cs
- ListBox.cs
- PropertyInformationCollection.cs
- TextPointer.cs
- DBSqlParserTable.cs
- SendDesigner.xaml.cs
- StatusBarPanelClickEvent.cs
- XmlProcessingInstruction.cs
- MenuAutomationPeer.cs
- VSWCFServiceContractGenerator.cs
- NativeMethods.cs
- JpegBitmapEncoder.cs
- CodeIdentifiers.cs
- Material.cs
- XmlSchemaAppInfo.cs
- TagPrefixInfo.cs
- ValueCollectionParameterReader.cs
- DataGridToolTip.cs
- TemplateBindingExtension.cs
- RequestCacheEntry.cs
- TextUtf8RawTextWriter.cs
- DispatcherFrame.cs
- DecimalAnimation.cs
- ServiceModelActivationSectionGroup.cs
- IsolatedStorageFilePermission.cs
- Point.cs
- Rfc2898DeriveBytes.cs
- MarshalDirectiveException.cs
- RuntimeArgument.cs
- CodeMethodInvokeExpression.cs
- SecurityContext.cs
- AuthorizationSection.cs
- Helper.cs
- SourceFileInfo.cs
- LazyTextWriterCreator.cs
- SqlRowUpdatingEvent.cs
- Point3DAnimation.cs
- CreateRefExpr.cs
- SecurityManager.cs
- ElementFactory.cs
- LongTypeConverter.cs
- CapacityStreamGeometryContext.cs
- NotifyParentPropertyAttribute.cs
- MouseActionValueSerializer.cs
- ClientSideQueueItem.cs
- ObjectResult.cs
- RTLAwareMessageBox.cs
- ZipIOExtraFieldPaddingElement.cs
- BmpBitmapDecoder.cs
- TypedDataSetSchemaImporterExtension.cs
- TypeGenericEnumerableViewSchema.cs
- TextTreeDeleteContentUndoUnit.cs
- Token.cs
- RouteParser.cs
- _OSSOCK.cs
- xml.cs
- ComContractElementCollection.cs
- IpcPort.cs
- SqlMultiplexer.cs
- CallbackHandler.cs
- ListMarkerSourceInfo.cs
- SkewTransform.cs
- ProgressiveCrcCalculatingStream.cs
- TabItemWrapperAutomationPeer.cs
- MetaColumn.cs
- EFTableProvider.cs
- SctClaimDictionary.cs
- PersonalizationStateQuery.cs
- StandardOleMarshalObject.cs
- HostedHttpContext.cs