using System; using ArchestrA.MxAccess; namespace MxGateway.Worker.MxAccess; /// /// Constants and metadata for MXAccess COM interop. /// public static class MxAccessInteropInfo { /// /// Versioned ProgID for the MXAccess COM server. /// public const string ProgId = "LMXProxy.LMXProxyServer.1"; /// /// Version-independent ProgID for the MXAccess COM server. /// public const string VersionIndependentProgId = "LMXProxy.LMXProxyServer"; /// /// Class ID (CLSID) of the MXAccess COM server. /// public const string Clsid = "{C30B52F5-2CB5-4760-AF0A-3A344A7EB5DC}"; /// /// Path to the ArchestrA.MxAccess.dll interop assembly. /// public const string InteropAssemblyPath = @"C:\Program Files (x86)\ArchestrA\Framework\Bin\ArchestrA.MXAccess.dll"; /// /// Path to the installed MXAccess COM server DLL. /// public const string RegisteredServerPath = @"C:\Program Files (x86)\ArchestrA\Framework\Bin\LmxProxy.dll"; /// /// Full qualified name of the COM class. /// public const string ComClassName = "ArchestrA.MxAccess.LMXProxyServerClass"; /// /// Name of the MXAccess interop assembly. /// public static string InteropAssemblyName => typeof(LMXProxyServerClass).Assembly.GetName().Name ?? string.Empty; /// /// Version of the MXAccess interop assembly. /// public static Version InteropAssemblyVersion => typeof(LMXProxyServerClass).Assembly.GetName().Version ?? new Version(0, 0); }