// DO NOT Edit this file w/o consulting with WPF Dev Manager
//
// The C++ version of these definitions is in inc\BuildInfo.hxx.

using System;
using System.Text;

#if WINDOWS_BASE
namespace MS.Internal.WindowsBase
#elif PRESENTATION_CORE
namespace MS.Internal.PresentationCore
#elif PRESENTATIONFRAMEWORK
namespace MS.Internal.PresentationFramework
#elif REACHFRAMEWORK
namespace MS.Internal.ReachFramework
#else
namespace Microsoft.Internal
#endif
{
    internal static class BuildInfo
    {
        internal const string WCP_PUBLIC_KEY_TOKEN = "31bf3856ad364e35";
        internal const string WCP_VERSION = "4.0.0.0";
        internal const string WCP_PUBLIC_KEY_STRING = "0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9";
        internal const string WCP_VERSION_SUFFIX = "_v0400";
        internal const string MIL_VERSION_SUFFIX = "";
        internal const string DEVDIV_PUBLIC_KEY_STRING = "00000000000000000400000000000000";
        internal const string DEVDIV_PUBLIC_KEY_TOKEN = "b77a5c561934e089";

        // Constants to prevent hardcoding in InternalsVisibleTo attribute
        internal const string PresentationCore = "PresentationCore, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationCFFRasterizer = "PresentationCFFRasterizer, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationFontCache = "PresentationFontCache, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationFramework = "PresentationFramework, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationUI = "PresentationUI, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkLuna = "PresentationFramework.Luna, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkRoyale = "PresentationFramework.Royale, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkAero = "PresentationFramework.Aero, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkAero2 = "PresentationFramework.Aero2, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkAeroLite = "PresentationFramework.AeroLite, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkClassic = "PresentationFramework.Classic, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkSystemCore = "PresentationFramework-SystemCore, PublicKey="+ DEVDIV_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkSystemData = "PresentationFramework-SystemData, PublicKey="+ DEVDIV_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkSystemDrawing = "PresentationFramework-SystemDrawing, PublicKey="+ DEVDIV_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkSystemXml = "PresentationFramework-SystemXml, PublicKey="+ DEVDIV_PUBLIC_KEY_STRING;
        internal const string PresentationFrameworkSystemXmlLinq = "PresentationFramework-SystemXmlLinq, PublicKey="+ DEVDIV_PUBLIC_KEY_STRING;
        internal const string ReachFramework = "ReachFramework, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string SystemPrinting = "System.Printing, PublicKey="+ WCP_PUBLIC_KEY_STRING;
        internal const string SystemXaml = "System.Xaml, PublicKey=" + DEVDIV_PUBLIC_KEY_STRING;
        internal const string WindowsFormsIntegration = "WindowsFormsIntegration, PublicKey="+ WCP_PUBLIC_KEY_STRING;

        // Make internal visible to the 3.5 dll, System.Windows.Presentation.dll.
        // we hard code the key here because the 3.5 dll is built in the devdiv depot using the CLR key.
        internal const string SystemWindowsPresentation = "System.Windows.Presentation, PublicKey=" + DEVDIV_PUBLIC_KEY_STRING;
        internal const string SystemWindowsControlsRibbon = "System.Windows.Controls.Ribbon, PublicKey=" + DEVDIV_PUBLIC_KEY_STRING;

        // Constants to prevent the need to update AsmMeta files with WCP version changes.
        private const string OLD_WCP_VERSION = "3.0.0.0";
        internal const string FontCachePortName = @"\BaseNamedObjects\FontCachePort" + OLD_WCP_VERSION;
        internal const string FontCacheServiceName = @"FontCache" + OLD_WCP_VERSION;
    }

    internal static class DllImport
    {
        internal const string PresentationNative = "PresentationNative" + BuildInfo.WCP_VERSION_SUFFIX + ".dll";
        internal const string PresentationCFFRasterizerNative = "PresentationCFFRasterizerNative" + BuildInfo.WCP_VERSION_SUFFIX + ".dll";
        internal const string MilCore = "wpfgfx" + BuildInfo.WCP_VERSION_SUFFIX + ".dll";

        // DLL's w/o version suffix
        internal const string UIAutomationCore = "UIAutomationCore.dll";
        internal const string Wininet = "Wininet.dll";
        internal const string WindowsCodecs = "WindowsCodecs.dll";
        internal const string WindowsCodecsExt = "WindowsCodecsExt.dll";
        internal const string Mscms = "mscms.dll";
        internal const string PrntvPt = "prntvpt.dll";
        internal const string Ole32 = "ole32.dll";
    }
}


