Scalien.NativeLoader.NativeLoader C# (CSharp) Method

NativeLoader() static private method

static private NativeLoader ( ) : System
return System
        static NativeLoader()
        {
            // This whole loader magic works only on Windows
            if (!IsWindows())
                return;

            bool is64BitProcess = (IntPtr.Size == 8);
            bool is64BitOperatingSystem = is64BitProcess || InternalCheckIsWow64();
            string name = "scaliendb_client";
            string bitness = is64BitProcess ? "x64" : "x86";
            ExtractNativeDLL(name, bitness);
        }