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
- RouteCollection.cs
- MeshGeometry3D.cs
- TreeViewImageIndexConverter.cs
- ConstantSlot.cs
- DataBindingExpressionBuilder.cs
- FunctionImportMapping.cs
- ProvidePropertyAttribute.cs
- NameSpaceExtractor.cs
- TextParaClient.cs
- CombinedGeometry.cs
- EntityDataSourceStatementEditorForm.cs
- FamilyCollection.cs
- FieldInfo.cs
- OdbcException.cs
- PermissionToken.cs
- ContentType.cs
- Ray3DHitTestResult.cs
- Predicate.cs
- PropertyDescriptorComparer.cs
- GlyphRunDrawing.cs
- Base64Stream.cs
- Item.cs
- iisPickupDirectory.cs
- Model3DGroup.cs
- ScriptingSectionGroup.cs
- HtmlEmptyTagControlBuilder.cs
- PageThemeCodeDomTreeGenerator.cs
- FlowPosition.cs
- InputLangChangeEvent.cs
- CodeBlockBuilder.cs
- ProxyHwnd.cs
- XmlCodeExporter.cs
- ReceiveParametersContent.cs
- SimpleColumnProvider.cs
- SkewTransform.cs
- LinqDataSourceSelectEventArgs.cs
- GradientBrush.cs
- WebPartCollection.cs
- PeerInputChannel.cs
- FontUnit.cs
- NullableIntSumAggregationOperator.cs
- ListenerElementsCollection.cs
- NGCPageContentSerializerAsync.cs
- RandomNumberGenerator.cs
- SelectorItemAutomationPeer.cs
- RegexBoyerMoore.cs
- TableItemPatternIdentifiers.cs
- IIS7UserPrincipal.cs
- ExpressionPrefixAttribute.cs
- QuotedPrintableStream.cs
- WindowsScroll.cs
- GlyphCache.cs
- MultiAsyncResult.cs
- FontCacheUtil.cs
- GPRECT.cs
- NameScopePropertyAttribute.cs
- DecimalConstantAttribute.cs
- ButtonBase.cs
- COM2IProvidePropertyBuilderHandler.cs
- AddInController.cs
- DrawingGroup.cs
- HiddenFieldPageStatePersister.cs
- Sentence.cs
- XamlReaderHelper.cs
- XmlTextEncoder.cs
- FormViewUpdatedEventArgs.cs
- BitSet.cs
- MetadataHelper.cs
- GlyphCache.cs
- TextTreeUndoUnit.cs
- Matrix3D.cs
- Matrix.cs
- DbProviderSpecificTypePropertyAttribute.cs
- control.ime.cs
- EntityContainerEntitySet.cs
- EntityDataSourceColumn.cs
- UpDownEvent.cs
- Parser.cs
- StylusPlugInCollection.cs
- SystemGatewayIPAddressInformation.cs
- CrossContextChannel.cs
- ExpressionReplacer.cs
- TypeHelpers.cs
- Trace.cs
- SelectionUIHandler.cs
- QueryOpcode.cs
- CodeThrowExceptionStatement.cs
- ControlParameter.cs
- documentsequencetextview.cs
- DropDownList.cs
- WorkflowDefinitionContext.cs
- MachineKeySection.cs
- TypeResolvingOptionsAttribute.cs
- CodeCatchClauseCollection.cs
- SmiContext.cs
- ClientEventManager.cs
- SweepDirectionValidation.cs
- PkcsUtils.cs
- Set.cs
- SafeRegistryKey.cs