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
- ExpressionWriter.cs
- DllNotFoundException.cs
- XmlAttributeProperties.cs
- ParameterRetriever.cs
- SQLDoubleStorage.cs
- XpsFixedDocumentReaderWriter.cs
- Point4DConverter.cs
- RoutedEventHandlerInfo.cs
- CapabilitiesSection.cs
- TemplateLookupAction.cs
- CrossSiteScriptingValidation.cs
- brushes.cs
- DateTimeFormat.cs
- TextParagraphProperties.cs
- ConnectionPoint.cs
- DataBinder.cs
- DrawingVisual.cs
- DocumentSchemaValidator.cs
- AuthenticationException.cs
- WebPartDisplayMode.cs
- BrushMappingModeValidation.cs
- ChangesetResponse.cs
- AttributeSetAction.cs
- XPathItem.cs
- TrustLevel.cs
- ToolStripSystemRenderer.cs
- OdbcUtils.cs
- _LazyAsyncResult.cs
- SafeEventLogWriteHandle.cs
- LocalizeDesigner.cs
- SimpleMailWebEventProvider.cs
- TraceContext.cs
- EmbossBitmapEffect.cs
- XmlIgnoreAttribute.cs
- VerificationAttribute.cs
- MasterPage.cs
- QuotedPrintableStream.cs
- TextEditorTyping.cs
- ButtonBaseAutomationPeer.cs
- SiteOfOriginPart.cs
- DataGridLinkButton.cs
- DataRow.cs
- ConfigurationValue.cs
- GACIdentityPermission.cs
- PartitionedDataSource.cs
- StructureChangedEventArgs.cs
- MinMaxParagraphWidth.cs
- OSFeature.cs
- MinimizableAttributeTypeConverter.cs
- UrlMappingsModule.cs
- TypeValidationEventArgs.cs
- Style.cs
- ImageCodecInfo.cs
- CurrentChangingEventArgs.cs
- SettingsPropertyIsReadOnlyException.cs
- SrgsRulesCollection.cs
- TemplateControlParser.cs
- TextureBrush.cs
- TransformGroup.cs
- SqlDataAdapter.cs
- XMLSchema.cs
- SHA512.cs
- FileAuthorizationModule.cs
- SecurityContextKeyIdentifierClause.cs
- TextRangeAdaptor.cs
- AssociatedControlConverter.cs
- WebPartVerb.cs
- TempFiles.cs
- Divide.cs
- KeyInterop.cs
- ToolTip.cs
- IisTraceWebEventProvider.cs
- BreakRecordTable.cs
- LinqToSqlWrapper.cs
- AdornerHitTestResult.cs
- LayoutDump.cs
- XmlMapping.cs
- sqlstateclientmanager.cs
- ConfigXmlDocument.cs
- EventListenerClientSide.cs
- ApplicationServiceManager.cs
- XmlSerializerNamespaces.cs
- IdnElement.cs
- CodeAttributeDeclaration.cs
- DocumentGridContextMenu.cs
- Exceptions.cs
- sqlnorm.cs
- PreservationFileReader.cs
- GeometryValueSerializer.cs
- StrokeDescriptor.cs
- FlowDecisionDesigner.xaml.cs
- GenericPrincipal.cs
- WindowsStreamSecurityBindingElement.cs
- Brush.cs
- FlagsAttribute.cs
- CancellationScope.cs
- SafeEventLogReadHandle.cs
- WebServiceReceive.cs
- FontFamily.cs
- StyleSheetRefUrlEditor.cs