Does anybody knows how to get information about current environment and platform in .NET Core? Currently there are no Environment class in Core library.
System.Environment is available in the System.Runtime.Extensions package. Ensure you've referenced that package in your project.json.
System.Environment
System.Runtime.Extensions
project.json
{ "frameworks": { "dnxcore50": { "dependencies": { "System.Runtime.Extensions": "4.0.10-*" } } } }