ChocoPM.Services.LocalChocolateyService.UninstallPackageAsync C# (CSharp) Method

UninstallPackageAsync() public method

Uninstall the specified package.
public UninstallPackageAsync ( string id, string version ) : Task
id string The Id of the package to be removed.
version string The Version string of the package to be removed.
return Task
        public async Task<bool> UninstallPackageAsync(string id, string version)
        {
            return await ExecutePackageCommand("chocolatey uninstall " + id + " -version " + version);
        }