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
- FileDialog.cs
- ForeignKeyConstraint.cs
- TableRowGroupCollection.cs
- PostBackTrigger.cs
- DocumentGrid.cs
- COM2EnumConverter.cs
- FormViewDeleteEventArgs.cs
- DataObject.cs
- CodeGeneratorOptions.cs
- TerminateSequence.cs
- SqlProfileProvider.cs
- MimeTypeMapper.cs
- NamespaceListProperty.cs
- SQLStringStorage.cs
- TaskCanceledException.cs
- WebPartConnectVerb.cs
- OdbcConnectionPoolProviderInfo.cs
- DataColumnCollection.cs
- DocumentPageView.cs
- X509ServiceCertificateAuthentication.cs
- ProcessThreadDesigner.cs
- SoapIgnoreAttribute.cs
- CharKeyFrameCollection.cs
- MergeFailedEvent.cs
- NavigationHelper.cs
- DataGridPageChangedEventArgs.cs
- XsltArgumentList.cs
- Confirm.cs
- InteropDesigner.xaml.cs
- PassportAuthenticationModule.cs
- HyperlinkAutomationPeer.cs
- EncryptedData.cs
- DefaultHttpHandler.cs
- PropagatorResult.cs
- TemplateComponentConnector.cs
- CodeTypeMemberCollection.cs
- FrameworkContentElement.cs
- DbMetaDataCollectionNames.cs
- _RegBlobWebProxyDataBuilder.cs
- ThrowHelper.cs
- Matrix.cs
- ReturnType.cs
- FixUpCollection.cs
- DecimalAnimationBase.cs
- SystemResourceHost.cs
- XhtmlBasicTextViewAdapter.cs
- RoleBoolean.cs
- CreateParams.cs
- RegionInfo.cs
- NamedPipeChannelFactory.cs
- Size3DValueSerializer.cs
- codemethodreferenceexpression.cs
- BitmapMetadataBlob.cs
- BinHexDecoder.cs
- HtmlUtf8RawTextWriter.cs
- VisualCollection.cs
- WorkflowQueue.cs
- NativeMethods.cs
- DataSetFieldSchema.cs
- SoundPlayerAction.cs
- DataShape.cs
- GeometryDrawing.cs
- PropertyCollection.cs
- NullableConverter.cs
- TextCompositionEventArgs.cs
- DataGridViewAccessibleObject.cs
- SynchronizedDispatch.cs
- SqlReferenceCollection.cs
- SqlProfileProvider.cs
- GlyphRunDrawing.cs
- InternalBase.cs
- AutoResetEvent.cs
- StreamGeometry.cs
- Boolean.cs
- CriticalFinalizerObject.cs
- DLinqDataModelProvider.cs
- WinInet.cs
- ItemCheckedEvent.cs
- StringAttributeCollection.cs
- PrintDialog.cs
- ItemsPresenter.cs
- parserscommon.cs
- ZipIOLocalFileDataDescriptor.cs
- WindowsFormsLinkLabel.cs
- BitmapEffectInputConnector.cs
- OuterGlowBitmapEffect.cs
- XamlFilter.cs
- SiteMapPath.cs
- CodeRegionDirective.cs
- BaseAddressElementCollection.cs
- MessageVersionConverter.cs
- DbConnectionClosed.cs
- RenderingBiasValidation.cs
- ObjectDataSourceFilteringEventArgs.cs
- CapabilitiesSection.cs
- ToolBarButtonClickEvent.cs
- ObjectNavigationPropertyMapping.cs
- DbParameterHelper.cs
- RealProxy.cs
- DiagnosticsConfiguration.cs