Bari.Core.Tools.DownloadableExternalTool.DownloadAndDeploy C# (CSharp) Method

DownloadAndDeploy() protected method

Downloads the tool to the given target path
protected DownloadAndDeploy ( string target ) : void
target string Target directory
return void
        protected virtual void DownloadAndDeploy(string target)
        {
            using (var client = new WebClient())
            {
                client.DownloadFile(url, Path.Combine(target, executableName));
            }
        }