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
- CustomAssemblyResolver.cs
- FaultDesigner.cs
- PackageProperties.cs
- FilterElement.cs
- CriticalExceptions.cs
- ValidationEventArgs.cs
- FrameworkElementFactoryMarkupObject.cs
- PackageProperties.cs
- WebPartActionVerb.cs
- HttpApplication.cs
- SaveFileDialog.cs
- SrgsDocumentParser.cs
- BrowserCapabilitiesFactoryBase.cs
- SaveFileDialog.cs
- RemoteWebConfigurationHost.cs
- SortQuery.cs
- ModelVisual3D.cs
- SessionIDManager.cs
- Method.cs
- DataFormats.cs
- CacheDependency.cs
- PackWebResponse.cs
- UnsettableComboBox.cs
- HttpListenerResponse.cs
- BamlStream.cs
- Baml6ConstructorInfo.cs
- GeneralTransform.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- RotateTransform3D.cs
- XmlEncApr2001.cs
- DecoderFallbackWithFailureFlag.cs
- WebPartTransformerAttribute.cs
- EntitySetBaseCollection.cs
- CheckBox.cs
- PartialArray.cs
- PointF.cs
- GuidConverter.cs
- SkinBuilder.cs
- RichTextBox.cs
- DBConnectionString.cs
- RectAnimation.cs
- DoubleKeyFrameCollection.cs
- FilterFactory.cs
- SchemaImporterExtensionElementCollection.cs
- ValidationSummary.cs
- DateTimeUtil.cs
- SmiSettersStream.cs
- MetadataCacheItem.cs
- ScrollProperties.cs
- _ChunkParse.cs
- UnsafeNativeMethods.cs
- QueueSurrogate.cs
- ServiceModelConfigurationSection.cs
- Monitor.cs
- UniqueConstraint.cs
- CfgArc.cs
- ClientScriptManager.cs
- RoleManagerEventArgs.cs
- ProxyElement.cs
- SqlRowUpdatingEvent.cs
- shaperfactory.cs
- PhysicalFontFamily.cs
- Script.cs
- TrackBar.cs
- RegisteredDisposeScript.cs
- NativeMethodsCLR.cs
- BitmapEffectState.cs
- RtfNavigator.cs
- ConfigurationErrorsException.cs
- ViewEventArgs.cs
- TileBrush.cs
- DataFormat.cs
- Model3D.cs
- ListBindingHelper.cs
- ShutDownListener.cs
- Regex.cs
- SessionStateSection.cs
- ResourceReferenceKeyNotFoundException.cs
- DocobjHost.cs
- WebPartCatalogCloseVerb.cs
- SubpageParaClient.cs
- HtmlElementEventArgs.cs
- DataGridViewCellValidatingEventArgs.cs
- SignedXmlDebugLog.cs
- ProxyWebPartConnectionCollection.cs
- DecoderExceptionFallback.cs
- ToolStripLabel.cs
- ServiceModelStringsVersion1.cs
- DataGridTablesFactory.cs
- QueryCacheKey.cs
- DataGridViewColumnEventArgs.cs
- Transactions.cs
- XmlObjectSerializerReadContext.cs
- StrokeIntersection.cs
- PenThread.cs
- SpellerInterop.cs
- SecurityException.cs
- XmlMtomReader.cs
- RepeaterItemEventArgs.cs
- DynamicQueryStringParameter.cs