Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / HttpDigestClientElement.cs / 1 / HttpDigestClientElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.ServiceModel; using System.Configuration; using System.ServiceModel.Security; using System.ServiceModel.Channels; using System.Xml; using System.Security.Principal; using System.Security.Cryptography.X509Certificates; public sealed partial class HttpDigestClientElement : ConfigurationElement { public HttpDigestClientElement() { } [ConfigurationProperty(ConfigurationStrings.ImpersonationLevel, DefaultValue = WindowsClientCredential.DefaultImpersonationLevel)] [ServiceModelEnumValidator(typeof(TokenImpersonationLevelHelper))] public TokenImpersonationLevel ImpersonationLevel { get { return (TokenImpersonationLevel)base[ConfigurationStrings.ImpersonationLevel]; } set { base[ConfigurationStrings.ImpersonationLevel] = value; } } public void Copy(HttpDigestClientElement from) { if (this.IsReadOnly()) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigReadOnly))); } if (null == from) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("from"); } this.ImpersonationLevel = from.ImpersonationLevel; } internal void ApplyConfiguration(HttpDigestClientCredential digest) { if (digest == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("digest"); } digest.AllowedImpersonationLevel = this.ImpersonationLevel; } } } // 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
- StackBuilderSink.cs
- DiscardableAttribute.cs
- _KerberosClient.cs
- DataServicePagingProviderWrapper.cs
- XmlTextReader.cs
- FileDetails.cs
- AsymmetricSignatureDeformatter.cs
- TitleStyle.cs
- CatalogZone.cs
- SkewTransform.cs
- ModelTreeEnumerator.cs
- ObjectViewQueryResultData.cs
- ApplyHostConfigurationBehavior.cs
- IRCollection.cs
- GifBitmapDecoder.cs
- NonceToken.cs
- XamlTypeMapper.cs
- SelectionProcessor.cs
- BitVec.cs
- LayoutManager.cs
- XmlDomTextWriter.cs
- CopyCodeAction.cs
- DbMetaDataFactory.cs
- SqlReferenceCollection.cs
- JulianCalendar.cs
- XmlCustomFormatter.cs
- MouseWheelEventArgs.cs
- CacheRequest.cs
- ValidationPropertyAttribute.cs
- LazyTextWriterCreator.cs
- TimeSpanValidatorAttribute.cs
- ThreadAttributes.cs
- MediaSystem.cs
- ClientData.cs
- PeerResolverSettings.cs
- PopupControlService.cs
- EventProperty.cs
- LoginName.cs
- SqlDataSourceView.cs
- XhtmlBasicPanelAdapter.cs
- XPathAncestorIterator.cs
- ToolStripSplitStackLayout.cs
- EmptyStringExpandableObjectConverter.cs
- JpegBitmapDecoder.cs
- printdlgexmarshaler.cs
- ClientSideProviderDescription.cs
- EventSinkActivity.cs
- Function.cs
- OutOfMemoryException.cs
- SchemaAttDef.cs
- AssociatedControlConverter.cs
- CommandHelpers.cs
- OletxTransactionManager.cs
- DebugController.cs
- DelegatingConfigHost.cs
- ProviderSettings.cs
- CharacterBuffer.cs
- UInt64Converter.cs
- DataGridCell.cs
- ProfileManager.cs
- TextBoxRenderer.cs
- XsdDataContractImporter.cs
- EntitySqlException.cs
- ColumnPropertiesGroup.cs
- MarkupExtensionReturnTypeAttribute.cs
- TreeViewDesigner.cs
- SafeProcessHandle.cs
- ApplicationId.cs
- DoubleLinkListEnumerator.cs
- PagedDataSource.cs
- CodeNamespace.cs
- BookmarkUndoUnit.cs
- OptimalTextSource.cs
- ButtonRenderer.cs
- updatecommandorderer.cs
- EdmMember.cs
- RuleSettings.cs
- AnimationStorage.cs
- PersistenceTypeAttribute.cs
- OrderByBuilder.cs
- SqlUserDefinedAggregateAttribute.cs
- HttpRequest.cs
- UIElementHelper.cs
- XmlSchemaNotation.cs
- BamlRecordWriter.cs
- ComponentDispatcher.cs
- WeakReference.cs
- SoapCommonClasses.cs
- DataGridViewMethods.cs
- Rectangle.cs
- XdrBuilder.cs
- FontSizeConverter.cs
- ModulesEntry.cs
- BaseUriHelper.cs
- XmlSchemaAnnotation.cs
- GiveFeedbackEvent.cs
- WebReferenceOptions.cs
- AnimationClockResource.cs
- odbcmetadatacolumnnames.cs
- TableLayout.cs