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
- BamlLocalizableResource.cs
- CompareValidator.cs
- DoubleCollection.cs
- XPathChildIterator.cs
- SQLRoleProvider.cs
- BitmapSourceSafeMILHandle.cs
- BaseEntityWrapper.cs
- InstanceLockException.cs
- HashMembershipCondition.cs
- DataBoundControlHelper.cs
- SchemaNotation.cs
- DatePickerDateValidationErrorEventArgs.cs
- HttpBindingExtension.cs
- Overlapped.cs
- SupportsEventValidationAttribute.cs
- Itemizer.cs
- HttpServerVarsCollection.cs
- RtfFormatStack.cs
- QilIterator.cs
- Error.cs
- PackageRelationship.cs
- QueryProcessor.cs
- Int16.cs
- AddInAdapter.cs
- AssemblyAssociatedContentFileAttribute.cs
- EventManager.cs
- ValueType.cs
- PreservationFileReader.cs
- Int16Animation.cs
- FixUp.cs
- EncoderReplacementFallback.cs
- TextBox.cs
- ResourceKey.cs
- FormattedText.cs
- X509SecurityTokenAuthenticator.cs
- AdapterDictionary.cs
- SoapTypeAttribute.cs
- TabItemWrapperAutomationPeer.cs
- MsdtcWrapper.cs
- ConsoleTraceListener.cs
- Memoizer.cs
- PrintPreviewControl.cs
- SelectionItemPattern.cs
- COM2ExtendedBrowsingHandler.cs
- Exceptions.cs
- InstanceCreationEditor.cs
- PolicyException.cs
- InvokeBinder.cs
- SaveFileDialog.cs
- StaticExtensionConverter.cs
- Vector.cs
- TrackingServices.cs
- UnsafeNativeMethods.cs
- Label.cs
- AdjustableArrowCap.cs
- Mouse.cs
- SiteIdentityPermission.cs
- RegexInterpreter.cs
- AddInActivator.cs
- QueryConverter.cs
- BitmapDecoder.cs
- LinkedResourceCollection.cs
- BooleanExpr.cs
- PerspectiveCamera.cs
- OperationAbortedException.cs
- ApplicationFileCodeDomTreeGenerator.cs
- PerfCounters.cs
- FileSystemWatcher.cs
- PropertyGrid.cs
- ResourceDescriptionAttribute.cs
- RootProfilePropertySettingsCollection.cs
- MenuAutoFormat.cs
- UrlMapping.cs
- ReferenceConverter.cs
- unsafenativemethodsother.cs
- IxmlLineInfo.cs
- WebPartMenuStyle.cs
- BaseTreeIterator.cs
- TransactionProtocolConverter.cs
- SmtpNegotiateAuthenticationModule.cs
- InputScope.cs
- ManipulationStartedEventArgs.cs
- AddressingVersion.cs
- SchemaInfo.cs
- ListViewItemCollectionEditor.cs
- CqlBlock.cs
- NavigationProgressEventArgs.cs
- ResXResourceWriter.cs
- XhtmlBasicFormAdapter.cs
- Overlapped.cs
- TemplatedWizardStep.cs
- MessageHeader.cs
- TileBrush.cs
- HwndSourceParameters.cs
- CssClassPropertyAttribute.cs
- BinaryCommonClasses.cs
- AsyncOperationManager.cs
- ScriptServiceAttribute.cs
- ProbeDuplexAsyncResult.cs
- FlowDocumentScrollViewer.cs