NodeSwap/NodeJsWebApi.cs
/// <summary>
/// Generates a download URL. URL is not guaranteed to exist.
/// </summary>
Generates a download URL. URL is not guaranteed to exist.
Generates a download URL . URL is not guaranteed to exist .
public string GetDownloadUrl(Version version)
        {
            var arch = _globalContext.Is64Bit ? "x64" : "x86";
            return $"https://nodejs.org/dist/v{version}/node-v{version}-win-{arch}.zip";
        }
public string GetDownloadUrl ( Version version ) { var arch = _globalContext . Is64Bit ? " " : " " ; return $" https://nodejs.org/dist/v { version } /node-v { version } -win- { arch } .zip " ; }
Generates a download URL.
Generates a download URL .
version
Version