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
- SendSecurityHeaderElement.cs
- NameSpaceExtractor.cs
- ImageDrawing.cs
- PerformanceCountersElement.cs
- DefaultTraceListener.cs
- ValidatingCollection.cs
- ProcessStartInfo.cs
- CountdownEvent.cs
- InvalidEnumArgumentException.cs
- ColorContextHelper.cs
- _LazyAsyncResult.cs
- HeaderUtility.cs
- GcHandle.cs
- _OverlappedAsyncResult.cs
- ManifestResourceInfo.cs
- XmlTextReaderImplHelpers.cs
- StylusPointPropertyUnit.cs
- remotingproxy.cs
- DataGridAddNewRow.cs
- CalendarDesigner.cs
- DtrList.cs
- WebPartZoneBaseDesigner.cs
- ExceptionHandlers.cs
- MetadataArtifactLoaderCompositeFile.cs
- CheckBoxAutomationPeer.cs
- ManualResetEvent.cs
- PropertyGroupDescription.cs
- SqlDataSourceQuery.cs
- OrderedParallelQuery.cs
- BinHexEncoder.cs
- IChannel.cs
- DirectoryRootQuery.cs
- FormViewRow.cs
- ExpressionEditorAttribute.cs
- WebPartDescriptionCollection.cs
- COSERVERINFO.cs
- TemplateBindingExpressionConverter.cs
- ExtenderControl.cs
- WebPartEditorCancelVerb.cs
- XmlAnyElementAttribute.cs
- MatrixCamera.cs
- LocalizableAttribute.cs
- HttpModuleActionCollection.cs
- DesignConnection.cs
- WorkflowServiceNamespace.cs
- ProfileGroupSettingsCollection.cs
- MediaSystem.cs
- InfoCardPolicy.cs
- EventProviderWriter.cs
- DateTimeFormatInfoScanner.cs
- Lasso.cs
- Sequence.cs
- SqlCacheDependencyDatabaseCollection.cs
- WebBrowser.cs
- PartialArray.cs
- BinaryMethodMessage.cs
- UInt32Storage.cs
- CssTextWriter.cs
- SamlSecurityTokenAuthenticator.cs
- X509SecurityToken.cs
- processwaithandle.cs
- PeerName.cs
- TableLayoutPanelCellPosition.cs
- processwaithandle.cs
- Logging.cs
- Win32NamedPipes.cs
- TextDocumentView.cs
- IpcChannel.cs
- safelinkcollection.cs
- LinkDesigner.cs
- XmlAttributeProperties.cs
- PreservationFileReader.cs
- XmlUTF8TextReader.cs
- AuthStoreRoleProvider.cs
- SrgsElementFactory.cs
- CredentialCache.cs
- VirtualPath.cs
- DataBindingHandlerAttribute.cs
- NotifyInputEventArgs.cs
- Model3DGroup.cs
- Filter.cs
- LassoHelper.cs
- RuntimeHelpers.cs
- WebPartDisplayModeCancelEventArgs.cs
- HttpRequestBase.cs
- EditBehavior.cs
- FontStretches.cs
- MenuBase.cs
- XmlSchemaAnnotation.cs
- SponsorHelper.cs
- WsatExtendedInformation.cs
- OleDbError.cs
- XmlCompatibilityReader.cs
- HttpPostLocalhostServerProtocol.cs
- DataPagerFieldCommandEventArgs.cs
- ParameterCollection.cs
- OperatorExpressions.cs
- RootNamespaceAttribute.cs
- ToolboxDataAttribute.cs
- NativeWindow.cs