Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / ClientServices / Providers / ClientFormsAuthenticationCredentials.cs / 1305376 / 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
- ExtendedPropertiesHandler.cs
- HtmlEncodedRawTextWriter.cs
- ParenthesizePropertyNameAttribute.cs
- Style.cs
- SendingRequestEventArgs.cs
- SingleAnimationBase.cs
- InvokeGenerator.cs
- ImmComposition.cs
- TemplatedWizardStep.cs
- SkinBuilder.cs
- MenuBase.cs
- WebMethodAttribute.cs
- SvcMapFileSerializer.cs
- BinaryObjectReader.cs
- X509Chain.cs
- HandlerBase.cs
- WindowAutomationPeer.cs
- WebRequestModuleElementCollection.cs
- UIElement.cs
- RemotingSurrogateSelector.cs
- XmlSortKeyAccumulator.cs
- DelayedRegex.cs
- ExtendedProperty.cs
- CompositeKey.cs
- SmtpFailedRecipientException.cs
- DurationConverter.cs
- ProfileService.cs
- Inline.cs
- SHA256CryptoServiceProvider.cs
- WebBrowserSiteBase.cs
- shaper.cs
- While.cs
- PatternMatchRules.cs
- Connector.xaml.cs
- Activity.cs
- objectquery_tresulttype.cs
- ConfigurationSection.cs
- ContextMenu.cs
- ActivityInfo.cs
- AddInAdapter.cs
- TrackingProfileCache.cs
- DataListCommandEventArgs.cs
- XmlSchemaChoice.cs
- Constraint.cs
- DynamicDiscoSearcher.cs
- _LoggingObject.cs
- TemplateLookupAction.cs
- ImageMapEventArgs.cs
- SessionSwitchEventArgs.cs
- CurrentChangingEventManager.cs
- UpdateTracker.cs
- StringFreezingAttribute.cs
- CodeLinePragma.cs
- ColumnMapVisitor.cs
- DetailsViewRow.cs
- OleDbConnectionInternal.cs
- HitTestParameters.cs
- ReachFixedDocumentSerializerAsync.cs
- PersonalizationDictionary.cs
- ObjectListCommandsPage.cs
- SqlParameterizer.cs
- PermissionRequestEvidence.cs
- OleDbFactory.cs
- HeaderUtility.cs
- NotFiniteNumberException.cs
- AuthenticationServiceManager.cs
- TerminatorSinks.cs
- DescendentsWalkerBase.cs
- RoleService.cs
- GridView.cs
- ScriptingAuthenticationServiceSection.cs
- DocumentReference.cs
- Int32Storage.cs
- _DigestClient.cs
- ConfigurationValidatorBase.cs
- NullRuntimeConfig.cs
- MessageEncodingBindingElementImporter.cs
- ListBoxItem.cs
- ToolBar.cs
- DataObjectMethodAttribute.cs
- LockRecoveryTask.cs
- ByteStack.cs
- HttpVersion.cs
- Expander.cs
- SoundPlayer.cs
- Location.cs
- mediapermission.cs
- Marshal.cs
- ScrollItemProviderWrapper.cs
- HeaderCollection.cs
- MenuScrollingVisibilityConverter.cs
- ContainsSearchOperator.cs
- FileDialogCustomPlace.cs
- PasswordBox.cs
- RegexCapture.cs
- PerfCounters.cs
- NameValueFileSectionHandler.cs
- SystemResourceKey.cs
- ClientRuntimeConfig.cs
- TextUtf8RawTextWriter.cs