Exemple #1
0
        private void FindAssemblyDirectory()
        {
            var libPath = _assemblyHelper.GetAssemblyDirectory() + "\\lib\\";

            _osHelper = new OsHelper();
            libPath  += _osHelper.Is64BitProcess ? "x64" : "x86";
            _osHelper.AddDllDirectorySearchPath(libPath);
        }
Exemple #2
0
        public PdfToolsTestLicensing() : base(ParameterHelper.GetPassword("pdftoolbox_key"), ParameterHelper.GetPassword("pdfa_converter_key"), ParameterHelper.GetPassword("pdfsecure_key"), ParameterHelper.GetPassword("pdfa_validator_key"))
        {
            var assemblyHelper = new AssemblyHelper(Assembly.GetExecutingAssembly());
            var libPath        = assemblyHelper.GetAssemblyDirectory() + "\\lib\\";

            var osHelper = new OsHelper();

            libPath += osHelper.Is64BitProcess ? "x64" : "x86";
            osHelper.AddDllDirectorySearchPath(libPath);
        }