NuGet is the package manager for all .NET platforms.
Download and using nuget packages in PowerShell
I was somewhat successful trying to download nuget packages with
PowerShell and then using it with a script like so:
$packageName = 'BouncyCastle'
$version = '1.8.9.0' # Leave empty for latest release?
$downloadURL = "https://www.nuget.org/api/v2/package/$packageName/$version"
invoke-webRequest $downloadURL -outFile $pwd/$packageName.zip
add-type -assembly System.IO.Compression.FileSystem
$zip = [IO.Compression.ZipFile]::OpenRead("$pwd/$packageName.zip")
[IO.Compression.ZipFileExtensions]::ExtractToFile($zip.GetEntry("lib/BouncyCastle.Crypto.dll"), "$pwd/$packageName.dll")
Later …
add-type -path "$pwd/$packageName.dll"
…
… [Org.BouncyCastle.Math.EC.AbstractFpCurve] …