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
- MailBnfHelper.cs
- VisualStyleElement.cs
- ToolboxDataAttribute.cs
- VirtualPath.cs
- IResourceProvider.cs
- AppearanceEditorPart.cs
- ExpandCollapseProviderWrapper.cs
- DataMemberAttribute.cs
- HierarchicalDataTemplate.cs
- ProviderSettingsCollection.cs
- XmlSchemaValidator.cs
- ResourceAttributes.cs
- EntityStoreSchemaGenerator.cs
- HMACRIPEMD160.cs
- DBConnection.cs
- TextViewBase.cs
- BigInt.cs
- exports.cs
- objectquery_tresulttype.cs
- LocalizationCodeDomSerializer.cs
- NameTable.cs
- OleDbWrapper.cs
- ObjectPropertyMapping.cs
- SafeNativeMethods.cs
- UiaCoreTypesApi.cs
- NGCSerializer.cs
- CodeCompileUnit.cs
- ToolStripSystemRenderer.cs
- DataSourceControl.cs
- SapiGrammar.cs
- AliasedSlot.cs
- MediaContextNotificationWindow.cs
- NumberAction.cs
- XPathDocumentNavigator.cs
- AssertFilter.cs
- HttpConfigurationContext.cs
- SiteMembershipCondition.cs
- NamespaceDisplay.xaml.cs
- keycontainerpermission.cs
- XamlGridLengthSerializer.cs
- SqlTriggerAttribute.cs
- GlyphManager.cs
- PixelFormatConverter.cs
- Evidence.cs
- RegexRunnerFactory.cs
- SoapTypeAttribute.cs
- RichTextBox.cs
- QuestionEventArgs.cs
- JsonEnumDataContract.cs
- DoubleLinkListEnumerator.cs
- WebPart.cs
- PropertySourceInfo.cs
- SHA512.cs
- BuildProvidersCompiler.cs
- PageBorderless.cs
- ConstructorExpr.cs
- Selection.cs
- CapabilitiesPattern.cs
- SqlFacetAttribute.cs
- XmlSchemaAppInfo.cs
- SqlProcedureAttribute.cs
- SQLMoney.cs
- HtmlFormParameterWriter.cs
- WebResponse.cs
- NotificationContext.cs
- translator.cs
- DataTableCollection.cs
- KeyboardNavigation.cs
- TextEditorParagraphs.cs
- XmlILStorageConverter.cs
- TimeSpanOrInfiniteConverter.cs
- BinaryUtilClasses.cs
- MailAddressCollection.cs
- serverconfig.cs
- RepeaterItemEventArgs.cs
- GeneratedCodeAttribute.cs
- Stylesheet.cs
- PageParserFilter.cs
- TokenFactoryCredential.cs
- CodeAccessPermission.cs
- LinkLabelLinkClickedEvent.cs
- DbConnectionInternal.cs
- RemotingSurrogateSelector.cs
- LabelLiteral.cs
- shaperfactoryquerycachekey.cs
- Command.cs
- ClientScriptManagerWrapper.cs
- DropTarget.cs
- MeasurementDCInfo.cs
- StringToken.cs
- XPathNodeIterator.cs
- FixedDocument.cs
- DesignerSerializationVisibilityAttribute.cs
- HtmlTableCellCollection.cs
- EntityDataSourceDesignerHelper.cs
- login.cs
- WindowsTreeView.cs
- ExtractCollection.cs
- XamlReader.cs
- ColumnProvider.cs