Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Service / managed / Microsoft / InfoCards / UsernameTokenFactoryCredential.cs / 1 / UsernameTokenFactoryCredential.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.IO; using System.Text; // // Summary: // Credential class for userName and password // internal class UserNameTokenFactoryCredential : TokenFactoryCredential { string m_userName; string m_password; // // Construct userNamepassword credential class // public UserNameTokenFactoryCredential() : base( TokenFactoryCredentialType.UserNamePasswordCredential ) { } // // Summary: // Get/Set the userName // public string UserName { get{ return m_userName; } } // // Summary: // Get/Set the password // public string Password { get{ return m_password; } } // // Summary: // Deserialzes the class data // protected override void DeserializeData( BinaryReader reader ) { m_userName = Utility.DeserializeString( reader ); m_password = Utility.DeserializeString( reader ); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CalendarDay.cs
- RSAProtectedConfigurationProvider.cs
- SlotInfo.cs
- ArgumentException.cs
- AddInContractAttribute.cs
- Util.cs
- BooleanStorage.cs
- PresentationAppDomainManager.cs
- ColumnTypeConverter.cs
- ConvertBinder.cs
- GridViewRowCollection.cs
- FullTrustAssemblyCollection.cs
- VirtualizingPanel.cs
- PreviewPageInfo.cs
- PictureBox.cs
- XmlSchemaSet.cs
- Rfc2898DeriveBytes.cs
- SqlDataSource.cs
- Light.cs
- WeakEventTable.cs
- TreeViewHitTestInfo.cs
- EventManager.cs
- AndAlso.cs
- WpfWebRequestHelper.cs
- DoubleAnimationBase.cs
- PseudoWebRequest.cs
- DrawingVisual.cs
- XmlUtf8RawTextWriter.cs
- HyperLinkColumn.cs
- ClientCultureInfo.cs
- Html32TextWriter.cs
- MbpInfo.cs
- Roles.cs
- UIElement3D.cs
- HttpWebRequest.cs
- PointLight.cs
- UIntPtr.cs
- DataKey.cs
- ProgressChangedEventArgs.cs
- Executor.cs
- StackOverflowException.cs
- PrinterUnitConvert.cs
- TypeDescriptionProviderAttribute.cs
- ExceptionRoutedEventArgs.cs
- CheckableControlBaseAdapter.cs
- SiteMapHierarchicalDataSourceView.cs
- EmptyElement.cs
- TextParaClient.cs
- XmlPreloadedResolver.cs
- DependencyPropertyKind.cs
- NameNode.cs
- WebControl.cs
- CellParaClient.cs
- MonthChangedEventArgs.cs
- GlobalProxySelection.cs
- SqlProvider.cs
- DebugControllerThread.cs
- PropertyMetadata.cs
- XmlSchemaAppInfo.cs
- ObjectDataSourceWizardForm.cs
- DnsPermission.cs
- InheritanceAttribute.cs
- InternalConfigSettingsFactory.cs
- VariantWrapper.cs
- DesignerLinkAdapter.cs
- FrameAutomationPeer.cs
- SqlConnectionStringBuilder.cs
- ISessionStateStore.cs
- DesignerTextBoxAdapter.cs
- XmlQueryOutput.cs
- MemberExpressionHelper.cs
- BrowserInteropHelper.cs
- PersonalizationAdministration.cs
- SafeHGlobalHandleCritical.cs
- ConfigurationSchemaErrors.cs
- HwndSubclass.cs
- CompiledXpathExpr.cs
- HtmlLinkAdapter.cs
- NameGenerator.cs
- ObjectStateFormatter.cs
- LeafCellTreeNode.cs
- ReadOnlyCollectionBase.cs
- Quaternion.cs
- HwndHost.cs
- ConsoleCancelEventArgs.cs
- DataListItem.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- GroupDescription.cs
- SourceFilter.cs
- InvalidEnumArgumentException.cs
- RootProfilePropertySettingsCollection.cs
- RTTrackingProfile.cs
- ParallelTimeline.cs
- DrawingImage.cs
- Authorization.cs
- DataGridViewBand.cs
- XPSSignatureDefinition.cs
- SymbolDocumentInfo.cs
- BuildProvider.cs
- ExecutionContext.cs