Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }