public EdgeRuntimeEnvironment(EdgeBootstrapperContext bootstrapperContext) { OperatingSystem = bootstrapperContext.OperatingSystem; OperatingSystemVersion = bootstrapperContext.OperatingSystemVersion; RuntimeArchitecture = bootstrapperContext.Architecture; ApplicationDirectory = bootstrapperContext.ApplicationDirectory; RuntimeVersion = typeof(object).GetTypeInfo().Assembly.GetName().Version.ToString(); RuntimePath = bootstrapperContext.RuntimeDirectory; }
public EdgeRuntimeEnvironment(EdgeBootstrapperContext bootstrapperContext) { OperatingSystem = bootstrapperContext.OperatingSystem; OperatingSystemVersion = bootstrapperContext.OperatingSystemVersion; RuntimeArchitecture = bootstrapperContext.Architecture; ApplicationDirectory = bootstrapperContext.ApplicationDirectory; RuntimeVersion = typeof(object).GetTypeInfo().Assembly.GetName().Version.ToString(); RuntimePath = bootstrapperContext.RuntimeDirectory; EdgeNodePath = bootstrapperContext.EdgeNodePath; }