Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / SecurityKeyEntropyMode.cs / 1 / SecurityKeyEntropyMode.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Security { using System.ComponentModel; public enum SecurityKeyEntropyMode { ClientEntropy, ServerEntropy, CombinedEntropy } sealed class SecurityKeyEntropyModeHelper { internal static bool IsDefined(SecurityKeyEntropyMode value) { return (value == SecurityKeyEntropyMode.ClientEntropy || value == SecurityKeyEntropyMode.ServerEntropy || value == SecurityKeyEntropyMode.CombinedEntropy); } internal static void Validate(SecurityKeyEntropyMode value) { if (!IsDefined(value)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("value", (int)value, typeof(SecurityKeyEntropyMode))); } } } } // 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
- RewritingPass.cs
- ManagementDateTime.cs
- OdbcConnectionHandle.cs
- PersonalizationState.cs
- SystemParameters.cs
- FormattedText.cs
- Setter.cs
- CompModHelpers.cs
- _ListenerResponseStream.cs
- TrackingRecord.cs
- HotCommands.cs
- AuthenticatedStream.cs
- BaseDataBoundControl.cs
- TextWriter.cs
- DataObjectFieldAttribute.cs
- ParserExtension.cs
- ResourceCodeDomSerializer.cs
- XmlStringTable.cs
- WebPartTransformerCollection.cs
- EntityKey.cs
- XmlDocumentType.cs
- LinkLabel.cs
- ModelItemDictionaryImpl.cs
- DesignerActionPropertyItem.cs
- ExtensibleSyndicationObject.cs
- SoapFault.cs
- Method.cs
- UnionCqlBlock.cs
- IDataContractSurrogate.cs
- FontCollection.cs
- CodeDomDecompiler.cs
- MenuItemBindingCollection.cs
- ConfigXmlSignificantWhitespace.cs
- CompilerLocalReference.cs
- DesignerValidatorAdapter.cs
- TrustSection.cs
- WeakReferenceList.cs
- MessageLogger.cs
- XmlResolver.cs
- DecimalSumAggregationOperator.cs
- FlowDocumentReader.cs
- Ipv6Element.cs
- AutoResizedEvent.cs
- oledbmetadatacollectionnames.cs
- InputLanguageProfileNotifySink.cs
- DataGridViewColumnEventArgs.cs
- WeakRefEnumerator.cs
- SkipStoryboardToFill.cs
- EndOfStreamException.cs
- DeleteWorkflowOwnerCommand.cs
- ClientTargetCollection.cs
- ArraySubsetEnumerator.cs
- TextParagraphCache.cs
- SqlMetaData.cs
- DependencyPropertyChangedEventArgs.cs
- ImageSource.cs
- LocatorManager.cs
- PngBitmapDecoder.cs
- Style.cs
- HttpHandlerAction.cs
- TraceUtility.cs
- CategoryGridEntry.cs
- SimpleFileLog.cs
- MsdtcWrapper.cs
- ExceptionTranslationTable.cs
- CryptoKeySecurity.cs
- DataFormat.cs
- DataList.cs
- NativeRightsManagementAPIsStructures.cs
- SessionEndingCancelEventArgs.cs
- SqlParameter.cs
- PinnedBufferMemoryStream.cs
- BindingContext.cs
- HierarchicalDataTemplate.cs
- ObjectKeyFrameCollection.cs
- SpecularMaterial.cs
- DefaultBindingPropertyAttribute.cs
- XmlTextEncoder.cs
- PreviewPageInfo.cs
- ComplusTypeValidator.cs
- GifBitmapEncoder.cs
- ObjectResult.cs
- MailDefinition.cs
- GridViewEditEventArgs.cs
- IdleTimeoutMonitor.cs
- MultipleViewPattern.cs
- SystemFonts.cs
- ReadOnlyDataSourceView.cs
- Tokenizer.cs
- FilePrompt.cs
- ArgumentNullException.cs
- SR.cs
- Maps.cs
- SynthesizerStateChangedEventArgs.cs
- ToolboxItemWrapper.cs
- HttpPostProtocolImporter.cs
- ControlDesigner.cs
- XmlWrappingReader.cs
- InlinedAggregationOperatorEnumerator.cs
- SizeF.cs