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
- DataReaderContainer.cs
- ListDictionary.cs
- ContentDisposition.cs
- Mappings.cs
- LightweightEntityWrapper.cs
- DockPattern.cs
- PenThreadWorker.cs
- EntityDataSourceContextCreatedEventArgs.cs
- InfoCardAsymmetricCrypto.cs
- ExtensionSimplifierMarkupObject.cs
- XmlCustomFormatter.cs
- PreloadedPackages.cs
- RowsCopiedEventArgs.cs
- DesignTimeParseData.cs
- WebBrowserNavigatedEventHandler.cs
- SpAudioStreamWrapper.cs
- InternalCache.cs
- DataListDesigner.cs
- DecimalStorage.cs
- StorageEntityContainerMapping.cs
- XmlSchemaDatatype.cs
- BCLDebug.cs
- SByteConverter.cs
- XmlSchemaProviderAttribute.cs
- ProxySimple.cs
- OleDbDataReader.cs
- COM2PictureConverter.cs
- TextureBrush.cs
- SchemaDeclBase.cs
- GatewayDefinition.cs
- GenericIdentity.cs
- WebPartConnectionsConnectVerb.cs
- Proxy.cs
- ReflectionPermission.cs
- LayoutInformation.cs
- MdiWindowListStrip.cs
- SourceLineInfo.cs
- SelectionBorderGlyph.cs
- SplitterCancelEvent.cs
- DataMember.cs
- Stylus.cs
- EastAsianLunisolarCalendar.cs
- SchemaTableOptionalColumn.cs
- ReadOnlyNameValueCollection.cs
- SqlMultiplexer.cs
- FrameworkReadOnlyPropertyMetadata.cs
- PropertyChangedEventArgs.cs
- TreeNodeCollectionEditor.cs
- ConfigurationCollectionAttribute.cs
- OperationResponse.cs
- PackageRelationshipCollection.cs
- WindowsRichEdit.cs
- RegexWriter.cs
- XmlBaseReader.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- InternalBufferOverflowException.cs
- IRCollection.cs
- XmlSchemaImporter.cs
- DataGridViewHitTestInfo.cs
- StrongNamePublicKeyBlob.cs
- SplitterEvent.cs
- ExpressionLink.cs
- DrawListViewSubItemEventArgs.cs
- GeometryGroup.cs
- xdrvalidator.cs
- BooleanFunctions.cs
- OutputCacheSettings.cs
- DataPagerFieldCommandEventArgs.cs
- LoadedEvent.cs
- PagerSettings.cs
- ClientBuildManagerCallback.cs
- DataGridPageChangedEventArgs.cs
- XhtmlBasicLabelAdapter.cs
- Switch.cs
- FixedSOMSemanticBox.cs
- SafeSystemMetrics.cs
- TreeViewImageIndexConverter.cs
- PropertyIDSet.cs
- Profiler.cs
- RelativeSource.cs
- EdmItemError.cs
- XmlDocumentSerializer.cs
- IsolatedStorageFilePermission.cs
- CompositeDataBoundControl.cs
- Visual3D.cs
- ByteArrayHelperWithString.cs
- DataSetUtil.cs
- prefixendpointaddressmessagefiltertable.cs
- PackWebRequestFactory.cs
- Win32Exception.cs
- URLIdentityPermission.cs
- Documentation.cs
- _BufferOffsetSize.cs
- httpserverutility.cs
- BindingContext.cs
- BufferedGraphicsManager.cs
- ProxyWebPartManagerDesigner.cs
- Configuration.cs
- PagesSection.cs
- TaskForm.cs