Skip to main content

Runtimes.DotnetInfo.GetLatestDotNetVersion Method

Declaring Type: Runtimes.DotnetInfo
Namespace: Velopack.Windows
Assembly: Velopack
Assembly Version: 0.0.942+a011233

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