Return to the Alphabetic Index
Return to the Class Browser
Return to the Picture Browser
Copyright (c) 1994 by NeXT Computer, Inc. All Rights Reserved.

NSProcessInfo

Inherits From: NSObject

Conforms To: NSObject (NSObject)

Declared In: Foundation/NSProcessinfo.h

Class Description

The NSProcessInfo class provides methods to access process-wide information. An NSProcessInfo object can return such information as the arguments, environment, host name, or process name. The processInfo class method returns an NSProcessInfo object. For example, the following code creates an NSProcessInfo object, which then provides the name of the current process:

[[NSProcessInfo processInfo] processName];

Getting an NSProcessInfo Object

Returning Process Information

Specifying a Process Name