Method GetDefaultLocation
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
boolWhether to return x64 runtime on arm OS.