Skip to main content

Runtimes.DotnetInfo.GetLatestDotNetVersion Method

Declaring Type: Runtimes.DotnetInfo
Namespace: Velopack.Windows
Assembly: Velopack
Assembly Version: 0.0.626+6f1a94e

Get latest available version of dotnet. Channel can be 'LTS', 'current', or a two part version (eg. '6.0') to get the latest minor release.

[AsyncStateMachine(Velopack.Windows.Runtimes/DotnetInfo/<GetLatestDotNetVersion>d__28)]
public static Task<string> GetLatestDotNetVersion(Runtimes.DotnetRuntimeType runtimeType, string channel, IFileDownloader downloader = null);

Parameters

runtimeType Runtimes.DotnetRuntimeType

channel string

downloader IFileDownloader

Returns

Task<string>


Documentation generated by MdDocs