Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / ClientServices / Providers / ClientFormsAuthenticationCredentials.cs / 1 / ClientFormsAuthenticationCredentials.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.ClientServices.Providers
{
using System;
using System.Diagnostics.CodeAnalysis;
public class ClientFormsAuthenticationCredentials
{
[SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId="username", Justification="consistent with Whidbey")]
public ClientFormsAuthenticationCredentials(string username, string password, bool rememberMe)
{
_UserName = username;
_Password = password;
_RememberMe = rememberMe;
}
public string UserName { get { return _UserName; } set { _UserName = value; } }
public string Password { get { return _Password; } set { _Password = value; } }
public bool RememberMe { get { return _RememberMe; } set { _RememberMe = value; } }
private string _UserName;
private string _Password;
private bool _RememberMe;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.ClientServices.Providers
{
using System;
using System.Diagnostics.CodeAnalysis;
public class ClientFormsAuthenticationCredentials
{
[SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId="username", Justification="consistent with Whidbey")]
public ClientFormsAuthenticationCredentials(string username, string password, bool rememberMe)
{
_UserName = username;
_Password = password;
_RememberMe = rememberMe;
}
public string UserName { get { return _UserName; } set { _UserName = value; } }
public string Password { get { return _Password; } set { _Password = value; } }
public bool RememberMe { get { return _RememberMe; } set { _RememberMe = value; } }
private string _UserName;
private string _Password;
private bool _RememberMe;
}
}
// 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
- RequestNavigateEventArgs.cs
- TableCell.cs
- DoubleAnimation.cs
- HelpInfo.cs
- PackageFilter.cs
- SqlSelectStatement.cs
- SecurityCriticalDataForSet.cs
- SigningCredentials.cs
- DoubleCollectionValueSerializer.cs
- DecoderFallbackWithFailureFlag.cs
- CodeIndexerExpression.cs
- BulletedListEventArgs.cs
- WindowsGraphics2.cs
- DecimalAnimationUsingKeyFrames.cs
- PageCodeDomTreeGenerator.cs
- CodeTryCatchFinallyStatement.cs
- TextServicesCompartmentContext.cs
- AssociationProvider.cs
- PropertyMapper.cs
- GeometryModel3D.cs
- BorderGapMaskConverter.cs
- PropertyToken.cs
- ObjectViewListener.cs
- LocalizableAttribute.cs
- HScrollBar.cs
- UnsafeNativeMethods.cs
- OdbcConnectionHandle.cs
- NetworkInterface.cs
- SamlAudienceRestrictionCondition.cs
- HandoffBehavior.cs
- ClientClassGenerator.cs
- DbParameterCollection.cs
- TdsParserStateObject.cs
- AspNetHostingPermission.cs
- HttpUnhandledOperationInvoker.cs
- StatusBarItem.cs
- CompilerGlobalScopeAttribute.cs
- ColumnCollection.cs
- ViewStateException.cs
- CompiledQueryCacheKey.cs
- ResourcePermissionBase.cs
- Int32Animation.cs
- XPathDescendantIterator.cs
- IdentityModelDictionary.cs
- HttpWebResponse.cs
- QueryOperatorEnumerator.cs
- RegistrationServices.cs
- SurrogateEncoder.cs
- PerformanceCounterCategory.cs
- COM2EnumConverter.cs
- CatalogZone.cs
- DefaultMemberAttribute.cs
- PageContentCollection.cs
- NavigationProperty.cs
- unsafenativemethodstextservices.cs
- FontStretches.cs
- EntityObject.cs
- BulletChrome.cs
- CellPartitioner.cs
- FreezableCollection.cs
- ScriptControl.cs
- complextypematerializer.cs
- XmlJsonReader.cs
- WebEncodingValidatorAttribute.cs
- PointHitTestResult.cs
- ComponentCommands.cs
- DropSourceBehavior.cs
- AspNetHostingPermission.cs
- MenuItem.cs
- EntityStoreSchemaFilterEntry.cs
- SymbolDocumentGenerator.cs
- X509UI.cs
- ListItemCollection.cs
- ReflectionHelper.cs
- ListViewContainer.cs
- RegularExpressionValidator.cs
- XslTransform.cs
- PropertyBuilder.cs
- RegexWriter.cs
- Vector3DValueSerializer.cs
- UnauthorizedWebPart.cs
- HashSet.cs
- UnknownBitmapDecoder.cs
- RepeatButtonAutomationPeer.cs
- ActivationServices.cs
- EntityContainerEntitySet.cs
- MultiPageTextView.cs
- ProxyManager.cs
- NumberFormatInfo.cs
- VBIdentifierTrimConverter.cs
- metadatamappinghashervisitor.cs
- FixedSOMGroup.cs
- ApplicationInfo.cs
- PowerModeChangedEventArgs.cs
- ItemsPanelTemplate.cs
- Avt.cs
- ByteAnimationBase.cs
- ContextQuery.cs
- DataBinding.cs
- CodePageEncoding.cs