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
- ExtendedProtectionPolicyElement.cs
- HandledEventArgs.cs
- SinglePageViewer.cs
- TranslateTransform3D.cs
- StateElement.cs
- UpdatePanelTrigger.cs
- InstanceKey.cs
- Vector3DCollectionValueSerializer.cs
- DemultiplexingClientMessageFormatter.cs
- XmlElement.cs
- PointCollectionValueSerializer.cs
- NotifyInputEventArgs.cs
- Message.cs
- TraceHandler.cs
- _ConnectStream.cs
- RunClient.cs
- SeverityFilter.cs
- ToolStripItemTextRenderEventArgs.cs
- ProfilePropertySettings.cs
- KeyTimeConverter.cs
- PageAsyncTaskManager.cs
- XLinq.cs
- XmlDataSourceNodeDescriptor.cs
- TextContainer.cs
- ISFClipboardData.cs
- ISAPIRuntime.cs
- ListControlConvertEventArgs.cs
- TextTreeRootTextBlock.cs
- UserControlParser.cs
- SqlXmlStorage.cs
- AppendHelper.cs
- ImageBrush.cs
- ListBoxAutomationPeer.cs
- SQLRoleProvider.cs
- SoapCodeExporter.cs
- UseLicense.cs
- GotoExpression.cs
- ConsumerConnectionPoint.cs
- ProcessHostConfigUtils.cs
- DiagnosticsConfiguration.cs
- Floater.cs
- InputDevice.cs
- PartialCachingAttribute.cs
- FormsAuthenticationUser.cs
- InputLanguage.cs
- MSAANativeProvider.cs
- XAMLParseException.cs
- XmlSchemaAll.cs
- ItemsPanelTemplate.cs
- GenericUriParser.cs
- GrammarBuilderBase.cs
- Encoder.cs
- SocketAddress.cs
- ParameterRetriever.cs
- SqlConnectionFactory.cs
- LayoutSettings.cs
- Operator.cs
- CheckableControlBaseAdapter.cs
- CursorConverter.cs
- Monitor.cs
- DeferredSelectedIndexReference.cs
- SafeNativeMethodsMilCoreApi.cs
- WindowsListView.cs
- XslException.cs
- CursorConverter.cs
- DataSourceHelper.cs
- WindowPattern.cs
- PhysicalOps.cs
- DataContractSet.cs
- ParserOptions.cs
- StyleXamlTreeBuilder.cs
- SmiSettersStream.cs
- FullTrustAssembliesSection.cs
- XmlValueConverter.cs
- ImageDesigner.cs
- ResourceExpression.cs
- TextureBrush.cs
- StatusBarDrawItemEvent.cs
- DependencyObjectPropertyDescriptor.cs
- XsdBuildProvider.cs
- ContactManager.cs
- HttpFormatExtensions.cs
- DataSource.cs
- VirtualPathProvider.cs
- EncoderParameter.cs
- ConstraintStruct.cs
- ServerIdentity.cs
- Normalization.cs
- FocusManager.cs
- ProgressBarHighlightConverter.cs
- AsyncInvokeContext.cs
- VirtualPathProvider.cs
- CodeGeneratorOptions.cs
- DrawListViewItemEventArgs.cs
- LoginName.cs
- ChangeDirector.cs
- WebServiceTypeData.cs
- AdapterUtil.cs
- RawTextInputReport.cs
- DayRenderEvent.cs