File: System\Deployment\Application\PlatformDetector.cs
Project: System.Deployment.dll (System.Deployment)
#region Assembly System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.dll
#endregion
 
using System.Deployment.Application.Manifest;
 
namespace System.Deployment.Application
{
    internal static class PlatformDetector
    {
        public static bool CheckCompatibleFramework(CompatibleFramework framework, ref Version clrVersion, ref string clrVersionString, string clrProcArch);
        public static bool DetectFrameworkInRegistry(string setupKeyPath, string setupValueName, Version versionRequired, bool detectInstallValue);
        public static string FormatFrameworkString(CompatibleFramework framework);
        public static bool IsCLRDependencyText(string clrTextName);
        public static bool IsSupportedProcessorArchitecture(string arch);
        public static bool VerifyCLRVersionInfo(Version v, string procArch);
        public static bool VerifyGACDependency(IAssemblyCache AssemblyCache, bool targetOtherClr, CCorRuntimeHost RuntimeHost, ReferenceIdentity refId, string tempDir);
        public static bool VerifyGACDependencyWhidbey(IAssemblyCache AssemblyCache, bool targetOtherClr, CCorRuntimeHost RuntimeHost, ReferenceIdentity refId);
        public static bool VerifyGACDependencyXP(ReferenceIdentity refId, string tempDir);
        public static bool VerifyOSDependency(ref OSDependency osd);
        public static void VerifyPlatformDependencies(AssemblyManifest appManifest, AssemblyManifest deployManifest, string tempDir);
 
        public class NameMap
        {
            public uint mask;
            public string name;
 
            public NameMap(string Name, uint Mask);
 
            public static string MapMaskToName(uint mask, NameMap[] nmArray);
            public static uint MapNameToMask(string name, NameMap[] nmArray);
        }
        public class OSDependency
        {
            public uint dwBuildNumber;
            public uint dwMajorVersion;
            public uint dwMinorVersion;
            public string productName;
            public string suiteName;
            public ushort wServicePackMajor;
            public ushort wServicePackMinor;
 
            public OSDependency();
            public OSDependency(OSVersionInfoEx osvi);
            public OSDependency(uint dwMajorVersion, uint dwMinorVersion, uint dwBuildNumber, ushort wServicePackMajor, ushort wServicePackMinor, string suiteName, string productName);
        }
        public class Product : NameMap
        {
            public Product(string Name, uint Mask);
        }
        public class Suite : NameMap
        {
            public Suite(string Name, uint Mask);
        }
    }
}