What platform are you running on?

This article demonstrates how to get information at runtime about the platform your .NET Core program is running on.

Short and simple.