Class Platform
public static class Platform
- Inheritance
-
Platform
- Inherited Members
Properties
IsCloudFoundry
Gets a value indicating whether the platform is Cloud Foundry by checking if VCAP_APPLICATION has been set.
public static bool IsCloudFoundry { get; }
Property Value
IsCloudHosted
Gets a value indicating whether an app is running on a cloud provider. Currently supports Cloud Foundry and Kubernetes.
public static bool IsCloudHosted { get; }
Property Value
IsContainerized
Gets a value indicating whether the application appears to be running in a container.
public static bool IsContainerized { get; }
Property Value
IsKubernetes
Gets a value indicating whether the platform is Kubernetes by checking if KUBERNETES_HOST has been set.
public static bool IsKubernetes { get; }
Property Value
IsLinux
public static bool IsLinux { get; }
Property Value
IsOSX
public static bool IsOSX { get; }
Property Value
IsWindows
public static bool IsWindows { get; }