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
- PropertyDescriptorCollection.cs
- ScriptControlDescriptor.cs
- RequestUriProcessor.cs
- QuaternionAnimationUsingKeyFrames.cs
- ResourceSetExpression.cs
- OutputWindow.cs
- InputLangChangeRequestEvent.cs
- VisualCollection.cs
- WhitespaceRule.cs
- RotateTransform3D.cs
- Run.cs
- HtmlUtf8RawTextWriter.cs
- RoleExceptions.cs
- ApplicationManager.cs
- DefaultTraceListener.cs
- TypeConverterAttribute.cs
- util.cs
- EmptyQuery.cs
- XsdBuilder.cs
- ADMembershipUser.cs
- StickyNoteHelper.cs
- PageTheme.cs
- CatalogPartChrome.cs
- BamlRecordHelper.cs
- CompilerTypeWithParams.cs
- QilPatternVisitor.cs
- Int16AnimationBase.cs
- Zone.cs
- PerformanceCounterLib.cs
- Border.cs
- HttpBrowserCapabilitiesBase.cs
- _HeaderInfo.cs
- ImageMetadata.cs
- DataServiceCollectionOfT.cs
- WebEventTraceProvider.cs
- CodeDomExtensionMethods.cs
- DrawingContext.cs
- WindowsStatusBar.cs
- XmlCustomFormatter.cs
- AssemblySettingAttributes.cs
- SafeNativeMethods.cs
- DataTableMapping.cs
- Geometry3D.cs
- COM2TypeInfoProcessor.cs
- GridSplitterAutomationPeer.cs
- RemoteWebConfigurationHostServer.cs
- WebPartConnection.cs
- SystemIcons.cs
- MenuItemCollection.cs
- UseLicense.cs
- TypeNameConverter.cs
- SubtreeProcessor.cs
- shaperfactory.cs
- BitStream.cs
- Binding.cs
- XmlDocumentSerializer.cs
- NameScopePropertyAttribute.cs
- MailSettingsSection.cs
- DispatcherTimer.cs
- safelink.cs
- CollectionChangeEventArgs.cs
- bindurihelper.cs
- RootBuilder.cs
- BufferedWebEventProvider.cs
- Label.cs
- SmiMetaDataProperty.cs
- DomainUpDown.cs
- ToolStripDropTargetManager.cs
- EntityDataSourceReferenceGroup.cs
- CommandHelpers.cs
- NativeActivity.cs
- ProviderConnectionPointCollection.cs
- HyperLink.cs
- BitSet.cs
- LOSFormatter.cs
- safelink.cs
- MenuScrollingVisibilityConverter.cs
- IfAction.cs
- SendAgentStatusRequest.cs
- InvokeHandlers.cs
- DbConnectionClosed.cs
- SqlProviderManifest.cs
- CatalogPartCollection.cs
- WebPartConnectionsCloseVerb.cs
- BlurBitmapEffect.cs
- FieldAccessException.cs
- PropertyDescriptor.cs
- NavigationProgressEventArgs.cs
- IResourceProvider.cs
- ContextProperty.cs
- ScriptResourceInfo.cs
- InfiniteTimeSpanConverter.cs
- XMLSchema.cs
- LicFileLicenseProvider.cs
- InvalidPropValue.cs
- SafeEventLogWriteHandle.cs
- ApplicationHost.cs
- RootNamespaceAttribute.cs
- IIS7UserPrincipal.cs
- DoubleCollectionValueSerializer.cs