Class RuntimeDetector
Used to detect specific .NET runtimes, to make it easier to adjust for platform specific differences.
Inherited Members
Namespace: Akka.Util
Assembly: Akka.dll
Syntax
public static class RuntimeDetector
Remarks
Mostly used for detecting Mono right now because certain features, i.e. IPV6 support, aren't fully supported on it. Can also be used for picking platform-specific implementations of things such as Akka.Cluster.Metrics implementations.
Fields
| Improve this Doc View SourceIsMono
Is true
if we're running on a Mono VM. false
otherwise.
Declaration
public static readonly bool IsMono
Field Value
Type | Description |
---|---|
Boolean |
IsWindows
Is true
if we've detected Windows as a platform.
Declaration
public static readonly bool IsWindows
Field Value
Type | Description |
---|---|
Boolean |