Table of Contents

Method GetDefaultLocation

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetDefaultLocation(bool)

Gets dotnet location. Returns value from the environment variables if they are specified; otherwise returns default dotnet location. Returned value is specific to the OS.

public static string GetDefaultLocation(bool x64onArm = false)

Parameters

x64onArm bool

Whether to return x64 runtime on arm OS.

Returns

string