Class Platform
public static class Platform
- Inheritance
-
Platform
- Inherited Members
Fields
KUBERNETES_HOST
public const string KUBERNETES_HOST = "KUBERNETES_SERVICE_HOST"
Field Value
NET_CORE
public const string NET_CORE = ".NET Core"
Field Value
NET_FRAMEWORK
public const string NET_FRAMEWORK = ".NET Framework"
Field Value
VCAP_APPLICATION
public const string VCAP_APPLICATION = "VCAP_APPLICATION"
Field Value
Properties
IsCloudFoundry
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
IsFullFramework
public static bool IsFullFramework { get; }
Property Value
IsKubernetes
public static bool IsKubernetes { get; }
Property Value
IsNetCore
public static bool IsNetCore { get; }
Property Value
IsWindows
public static bool IsWindows { get; }