Exemplo 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;
 }
Exemplo 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;
 }