Registry.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Shared / MS / Internal / Registry.cs / 1 / Registry.cs

                            using System; 
using MS.Internal;
using MS.Internal.WindowsBase;

//****** 
// Keep in [....] with:
//      setup\MSI\installerFiles\installDatabase\Registry.txt 
//      host\Inc\Registry.hxx 

namespace MS.Internal 
{
    [FriendAccessAllowed]
    internal static class RegistryKeys
    { 
        internal const string
            WPF = @"Software\Microsoft\.NETFramework\Windows Presentation Foundation", 
 
            WPF_Features = WPF+"\\Features",
                value_MediaImageDisallow = "MediaImageDisallow", 
                value_MediaVideoDisallow = "MediaVideoDisallow",
                value_MediaAudioDisallow = "MediaAudioDisallow",
                value_WebBrowserDisallow = "WebBrowserDisallow",
 
            WPF_Hosting = WPF+"\\Hosting",
                value_DisableXbapErrorPage = "DisableXbapErrorPage", 
 
            HKCU_XpsViewer = @"HKEY_CURRENT_USER\Software\Microsoft\XPSViewer",
                value_IsolatedStorageUserQuota = "IsolatedStorageUserQuota", 
            HKLM_XpsViewerLocalServer32 = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{7DDA204B-2097-47C9-8323-C40BB840AE44}\\LocalServer32",

            HKLM_IetfLanguage = @"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\IetfLanguage";
 
        // Keep this as long as RegistryKeys has only string consts. This prevents omitting
        // the entire class from the metadata. 
        internal static void Dummy() { } 
    };
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System; 
using MS.Internal;
using MS.Internal.WindowsBase;

//****** 
// Keep in [....] with:
//      setup\MSI\installerFiles\installDatabase\Registry.txt 
//      host\Inc\Registry.hxx 

namespace MS.Internal 
{
    [FriendAccessAllowed]
    internal static class RegistryKeys
    { 
        internal const string
            WPF = @"Software\Microsoft\.NETFramework\Windows Presentation Foundation", 
 
            WPF_Features = WPF+"\\Features",
                value_MediaImageDisallow = "MediaImageDisallow", 
                value_MediaVideoDisallow = "MediaVideoDisallow",
                value_MediaAudioDisallow = "MediaAudioDisallow",
                value_WebBrowserDisallow = "WebBrowserDisallow",
 
            WPF_Hosting = WPF+"\\Hosting",
                value_DisableXbapErrorPage = "DisableXbapErrorPage", 
 
            HKCU_XpsViewer = @"HKEY_CURRENT_USER\Software\Microsoft\XPSViewer",
                value_IsolatedStorageUserQuota = "IsolatedStorageUserQuota", 
            HKLM_XpsViewerLocalServer32 = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{7DDA204B-2097-47C9-8323-C40BB840AE44}\\LocalServer32",

            HKLM_IetfLanguage = @"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\IetfLanguage";
 
        // Keep this as long as RegistryKeys has only string consts. This prevents omitting
        // the entire class from the metadata. 
        internal static void Dummy() { } 
    };
} 

// 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