ConfigurationStrings.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Activation / Configuration / ConfigurationStrings.cs / 1 / ConfigurationStrings.cs

                            //------------------------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------------------------

namespace System.ServiceModel.Activation.Configuration 
{
    using System; 
    using System.Configuration; 
    using System.Collections.Generic;
    using System.Diagnostics; 
    using System.Globalization;

    internal static class ConfigurationStrings
    { 
        static string GetSectionPath(string sectionName)
        { 
            return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName); 
        }
 
        static internal string DiagnosticSectionPath
        {
            get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.DiagnosticSectionName); }
        } 

        static internal string NetTcpSectionPath 
        { 
            get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.NetTcpSectionName); }
        } 

        static internal string NetPipeSectionPath
        {
            get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.NetPipeSectionName); } 
        }
 
        internal const string SectionGroupName = "system.serviceModel.activation"; 

        // Sid for the built-in group IIS_IUSRS for IIS7 
        internal const string IIS_IUSRSSid = "S-1-5-32-568";

        internal const string DiagnosticSectionName = "diagnostics";
        internal const string NetTcpSectionName = "net.tcp"; 
        internal const string NetPipeSectionName = "net.pipe";
 
        internal const string AllowAccounts = "allowAccounts"; 
        internal const string Enabled = "enabled";
        internal const string ListenBacklog = "listenBacklog"; 
        internal const string MaxPendingAccepts = "maxPendingAccepts";
        internal const string MaxPendingConnections = "maxPendingConnections";
        internal const string PerformanceCountersEnabled = "performanceCountersEnabled";
        internal const string ReceiveTimeout = "receiveTimeout"; 
        internal const string SecurityIdentifier = "securityIdentifier";
        internal const string TeredoEnabled = "teredoEnabled"; 
        internal const string TimeSpanOneTick = "00:00:00.0000001"; 
        internal const string TimeSpanZero = "00:00:00";
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK