AppShellExecuteInfo Class

Represents the ShellExecute specific information for an application registration through HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths registry subkey.

Definition

Namespace: DevCase.Core.Windows.Applications
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class AppShellExecuteInfo
Inheritance
Object    AppShellExecuteInfo

Remarks

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Constructors

AppShellExecuteInfo(FileInfo) Initializes a new instance of the AppShellExecuteInfo class.
AppShellExecuteInfo(String) Initializes a new instance of the AppShellExecuteInfo class.

Properties

Default Gets the application name provided in the (Default) registry entry.

If necessary, the ShellExecuteEx function adds the extension when searching App Paths registry subkey.

DontUseDesktopChangeRouter Gets or sets a value mandatory for debugger applications to avoid file dialog deadlocks when debugging the Windows Explorer process.

Setting the DontUseDesktopChangeRouter entry produces a slightly less efficient handling of the change notifications, however.

DropTarget Gets or sets the CLSID of an object (usually a local server rather than an in-process server) that implements IDropTarget interface.

By default, when the drop target is an executable file, and no DropTarget value is provided, the Shell converts the list of dropped files into a command-line parameter and passes it to ShellExecuteEx through lpParameters.

Path Gets or sets a string (in the form of a semicolon-separated list of directories) to append to the PATH environment variable when an application is launched by calling ShellExecuteEx.

It is the fully qualified path to the .exe.

SupportedProtocols Gets or sets a string that contains the URL protocol schemes for a given key. This can contain multiple registry values to indicate which schemes are supported.

This string follows the format of scheme1:scheme2.

If this list is Not empty, file: will be added To the String.

This protocol Is implicitly supported When SupportedProtocols is defined.

UseUrl Gets or sets a value indicating whether the application can accept a URL (instead of a file name) on the command line.

Applications that can open documents directly from the internet, like web browsers and media players, should set this entry.

When the ShellExecuteEx function starts an application and the UseUrl=True value is not set, ShellExecuteEx downloads the document to a local file and invokes the handler on the local copy.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also