PlatformHelper Class

Summary

This class provides information about the platform NAnt is currently executed on.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["PlatformHelper"] class Type type-node

Syntax

[Serializable()]
public class PlatformHelper

Attributes

Type Description
SerializableAttribute

Fields

Name Constant Value Summary
IsMono
Gets a value indicating if Mono is the current execution platform.
static
IsUnix
Gets a value indicating if Unix is the current execution platform.
static
IsWin32
Gets a value indicating if Windows is the current execution platform.
static

Properties

Name Value Summary
IsWindows bool
Returns a value indicating whether NAnt is running on Windows.
static

Methods

Name Value Summary
IsVolumeCaseSensitive(string) bool
Determines whether the volume of the the specified path is case sensitive.
static