Table of Contents

Interface ICommandLine

Namespace
Tudormobile.Wpf
Assembly
Tudormobile.WpfApp.dll

Represents the current process command line.

public interface ICommandLine

Properties

Arguments

Command line arguments.

string[] Arguments { get; }

Property Value

string[]

this[string]

Retrieve a command line argument.

(bool Exists, string? Value) this[string key] { get; }

Parameters

key string

Argument name.

Property Value

(bool Exists, string Value)

(true, value) if the argument exists (value is optional)

ProgramName

Name of the process currently running.

string ProgramName { get; }

Property Value

string