using System; using ArchestrA.MxAccess; namespace MxGateway.Worker.MxAccess; public static class MxAccessInteropInfo { public const string ProgId = "LMXProxy.LMXProxyServer.1"; public const string VersionIndependentProgId = "LMXProxy.LMXProxyServer"; public const string Clsid = "{C30B52F5-2CB5-4760-AF0A-3A344A7EB5DC}"; public const string InteropAssemblyPath = @"C:\Program Files (x86)\ArchestrA\Framework\Bin\ArchestrA.MXAccess.dll"; public const string RegisteredServerPath = @"C:\Program Files (x86)\ArchestrA\Framework\Bin\LmxProxy.dll"; public const string ComClassName = "ArchestrA.MxAccess.LMXProxyServerClass"; public static string InteropAssemblyName => typeof(LMXProxyServerClass).Assembly.GetName().Name ?? string.Empty; public static Version InteropAssemblyVersion => typeof(LMXProxyServerClass).Assembly.GetName().Version ?? new Version(0, 0); }