12#undef GetCurrentDirectory
13#undef GetSystemDirectory
14#undef GetEnvironmentVariable
15#undef SetEnvironmentVariable
39 CommonApplicationData,
Provides methods for creating, manipulating, searching, and sorting arrays.
Represents a Unicode character code point mirroring .NET System.Char.
Defines common cross-platform macros, export decorators, and fundamental types.
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Base object class for DotNetDupe mirroring .NET System.Object.
Represents information about an operating system, such as the version and platform identifier.
High-performance UTF-8 / UTF-16 string manipulation class mirroring .NET System.String.
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Represents a collection of keys and values.
Provides environment variables, machine info, hardware traits, and platform properties.
static String GetSystemDirectory()
Gets the fully qualified path of the system directory.
static String GetUserName()
Gets the user name of the person who is currently logged on to the OS.
static String GetUserDomainName()
Gets the network domain name associated with the current user.
static Array< String > GetCommandLineArgs()
Returns a string array containing the command-line arguments for the current process.
static OperatingSystem GetOperatingSystem()
Gets an OperatingSystem object that contains the current platform identifier and version.
static int GetProcessorCount()
Gets the number of logical processors available on the current machine.
static String ExpandEnvironmentVariables(const String &sName)
Replaces the name of each environment variable embedded in the specified string with the string equiv...
SpecialFolder
Specifies enumerated constants used to retrieve directory paths to system special folders.
static void Exit(int iExitCode)
Terminates this process and returns an exit code to the operating system.
static int64_t GetWorkingSet()
Gets the amount of physical memory mapped to the process context (Working Set in bytes).
static void SetEnvironmentVariable(const String &sVariable, const String &sValue)
Creates, modifies, or deletes an environment variable stored in the current process.
static String GetFolderPath(SpecialFolder eFolder)
Gets the path to the system special folder that is identified by the specified enumeration.
static String GetEnvironmentVariable(const String &sVariable)
Retrieves the value of an environment variable from the current process.
static Collections::Generic::Dictionary< String, String > GetEnvironmentVariables()
Retrieves all environment variable names and their values from the current process.
static Array< String > GetLogicalDrives()
Returns an array of string containing the names of the logical drives on the current computer.
static String GetCurrentDirectory()
Gets the fully qualified path of the current working directory.
static String GetMachineName()
Gets the NetBIOS / network name of this local computer.
static String GetNewLine()
Gets the newline string defined for this environment ("\r\n" on Windows, "\n" on POSIX).
static String GetOSVersion()
Gets an operating system version string representation.
Supports all classes in the DotNetDupe class hierarchy.
Represents information about an operating system, such as the version and platform identifier.
Represents text as a sequence of UTF-8 code units with culture-invariant operations.