Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / AuthenticationModeHelper.cs / 1 / AuthenticationModeHelper.cs
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel.Configuration
{
static class AuthenticationModeHelper
{
public static bool IsDefined(AuthenticationMode value)
{
return value == AuthenticationMode.AnonymousForCertificate
|| value == AuthenticationMode.AnonymousForSslNegotiated
|| value == AuthenticationMode.CertificateOverTransport
|| value == AuthenticationMode.IssuedToken
|| value == AuthenticationMode.IssuedTokenForCertificate
|| value == AuthenticationMode.IssuedTokenForSslNegotiated
|| value == AuthenticationMode.IssuedTokenOverTransport
|| value == AuthenticationMode.Kerberos
|| value == AuthenticationMode.KerberosOverTransport
|| value == AuthenticationMode.MutualCertificate
|| value == AuthenticationMode.MutualCertificateDuplex
|| value == AuthenticationMode.MutualSslNegotiated
|| value == AuthenticationMode.SecureConversation
|| value == AuthenticationMode.SspiNegotiated
|| value == AuthenticationMode.UserNameForCertificate
|| value == AuthenticationMode.UserNameForSslNegotiated
|| value == AuthenticationMode.UserNameOverTransport
|| value == AuthenticationMode.SspiNegotiatedOverTransport;
}
}
}
// 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
- TableRowCollection.cs
- RuntimeWrappedException.cs
- InvalidFilterCriteriaException.cs
- Soap12ProtocolImporter.cs
- VisualCollection.cs
- StreamSecurityUpgradeAcceptorBase.cs
- AQNBuilder.cs
- TdsParserStaticMethods.cs
- BamlRecordHelper.cs
- PersonalizationAdministration.cs
- RegexNode.cs
- XmlSchema.cs
- SafeProcessHandle.cs
- ItemList.cs
- ActiveXContainer.cs
- TextComposition.cs
- DocumentViewerBaseAutomationPeer.cs
- JournalEntryStack.cs
- AudienceUriMode.cs
- MaskedTextProvider.cs
- UIElementCollection.cs
- EventsTab.cs
- MemberDescriptor.cs
- LayoutExceptionEventArgs.cs
- QueryProcessor.cs
- _Events.cs
- TextServicesCompartment.cs
- DebuggerAttributes.cs
- WmfPlaceableFileHeader.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- CounterNameConverter.cs
- MetaTableHelper.cs
- RuleProcessor.cs
- EntityDesignerDataSourceView.cs
- DesignerVerbCollection.cs
- UdpSocketReceiveManager.cs
- DoubleLinkList.cs
- DeleteMemberBinder.cs
- XmlSchemaComplexContentRestriction.cs
- ContextMenu.cs
- RoleServiceManager.cs
- DataGridDetailsPresenterAutomationPeer.cs
- ProfileInfo.cs
- ToolboxBitmapAttribute.cs
- SiteMapDataSourceView.cs
- MenuItemBindingCollection.cs
- DetectEofStream.cs
- SafeMemoryMappedFileHandle.cs
- EntityException.cs
- HtmlTable.cs
- SpecularMaterial.cs
- ShaderEffect.cs
- metrodevice.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- PropertyChange.cs
- HttpPostedFile.cs
- TextEndOfLine.cs
- PropertyPath.cs
- KeyConstraint.cs
- SrgsRuleRef.cs
- ComboBoxAutomationPeer.cs
- SerialPinChanges.cs
- ReadWriteObjectLock.cs
- ECDiffieHellmanCngPublicKey.cs
- StopStoryboard.cs
- CompModSwitches.cs
- AttributeTable.cs
- Type.cs
- TreeNodeClickEventArgs.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- TextBounds.cs
- FormattedTextSymbols.cs
- SuppressIldasmAttribute.cs
- Rectangle.cs
- FixedDocumentPaginator.cs
- BindingContext.cs
- StoryFragments.cs
- X509SecurityToken.cs
- OleAutBinder.cs
- SynchronizationContext.cs
- SingleTagSectionHandler.cs
- CompilationRelaxations.cs
- LinkArea.cs
- BridgeDataReader.cs
- RegexCharClass.cs
- CodeStatement.cs
- WebPartEditVerb.cs
- ConvertersCollection.cs
- GeneralTransform3DTo2D.cs
- ElapsedEventArgs.cs
- FixedSOMElement.cs
- TextElementCollectionHelper.cs
- RetrieveVirtualItemEventArgs.cs
- InputProviderSite.cs
- AssociationTypeEmitter.cs
- SmtpReplyReaderFactory.cs
- ReceiveErrorHandling.cs
- SortQuery.cs
- DeferredBinaryDeserializerExtension.cs
- UpdatePanel.cs