CommandLine property.
This commit is contained in:
Родитель
ecda648a0c
Коммит
40702aecac
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Security.Permissions;
|
||||
|
||||
namespace SystemInterface
|
||||
{
|
||||
|
@ -10,6 +11,27 @@ namespace SystemInterface
|
|||
/// </remarks>
|
||||
public interface IEnvironment
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the command line for this process.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// A string containing command-line arguments.
|
||||
/// </value>
|
||||
/// <remarks>
|
||||
/// <para>This property provides access to the program name and any arguments specified
|
||||
/// on the command line when the current process was started.</para>
|
||||
/// <para>The program name can include path information, but is not required to do so.
|
||||
/// Use the GetCommandLineArgs method to retrieve the command-line information parsed
|
||||
/// and stored in an array of strings.</para>
|
||||
/// <para>The maximum size of the command-line buffer is not set to a specific number
|
||||
/// of characters; it varies depending on the Windows operating system that is running
|
||||
/// on the computer.</para>
|
||||
/// </remarks>
|
||||
/// <permission cref="EnvironmentPermission">
|
||||
/// For read access to the PATH environment variable. Associated enumeration: <see cref="EnvironmentPermissionAccess.Read"/>.
|
||||
/// </permission>
|
||||
string CommandLine { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the current operating system is a 64-bit operating system.
|
||||
/// </summary>
|
||||
|
|
Загрузка…
Ссылка в новой задаче