NAnt SDK Documentation - v0.92

EnvironmentFunctions Members

EnvironmentFunctions overview

Public Static (Shared) Methods

GetFolderPath Gets the path to the system special folder identified by the specified enumeration.
GetMachineName Gets the NetBIOS name of this local computer.
GetOperatingSystem Gets an OperatingSystem object that represents the current operating system.
GetUserName Gets the user name of the person who started the current thread.
GetVariable Returns the value of the specified environment variable.
GetVersion Gets a Version object that describes the major, minor, build, and revision numbers of the Common Language Runtime.
NewLine Gets the newline string defined for this environment.
VariableExists Gets a value indicating whether the specified environment variable exists.

Public Instance Constructors

EnvironmentFunctions Constructor

Public Instance Properties

Project (inherited from FunctionSetBase) Gets or sets the Project that this functionset will reference.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

EnvironmentFunctions Class | NAnt.Core.Functions Namespace