AppOpenWithInfo Class

Represents the OpenWith specific information for an application registration through HKEY_CLASSES_ROOT\Applications\ApplicationName.exe 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 AppOpenWithInfo
Inheritance
Object    AppOpenWithInfo

Remarks

Example

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

Constructors

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

Properties

DefaultIcon Gets or sets the default icon to represent the application.
FriendlyAppName Gets or sets the localizable name to display for an application instead of just the version information appearing, which may not be localizable.

The association query ASSOCSTR reads this registry entry value and falls back to use the FileDescription name in the version information. If that name is missing, the association query defaults to the display name of the file.

Applications should use ASSOCSTR_FRIENDLYAPPNAME to retrieve this information to obtain the proper behavior.

IsHostApp Gets or sets a value indicating whether the process is a host process, such as Rundll32.exe or Dllhost.exe, and should not be considered for Start menu pinning or inclusion in the Most Frequently Used (MFU) list.

When launched with a shortcut that contains a non-null argument list or an explicit Application User Model IDs (AppUserModelIDs), the process can be pinned (as that shortcut). Such shortcuts are candidates for inclusion in the MFU list.

NoOpenWith Gets or sets a value indicating whether cc.

Be aware that if an OpenWithProgIDs subkey has been set for an application by file type, and the ProgID subkey itself does not also have a NoOpenWith entry, that application will appear in the list of recommended or available applications even if it has specified the NoOpenWith entry.

NoStartPage Gets or sets a value indicating whether the application executable and shortcuts should be excluded from the Start menu and from pinning or inclusion in the MFU list.

This entry is typically used to exclude system tools, installers and uninstallers, and readme files.

SupportedTypes Gets or sets the file types that the application supports.

Doing so enables the application to be listed in the cascade menu of the Open with dialog box.

TaskbarGroupIcon Gets or sets the icon used to override the taskbar icon. The window icon is normally used for the taskbar.

Setting the TaskbarGroupIcon entry causes the system to use the icon from the .exe for the application instead.

UseExecutableForTaskbarGroupIcon Gets or sets a value indicating whether to use the default icon of this executable in the taskbar if there is no pinnable shortcut for this application, and instead of the icon of the window that was first encountered.
Verb Gets or sets the verb method for calling the application from OpenWith menu.

Without a verb definition specified here, the system assumes that the application supports CreateProcess, and passes the file name on the command line.

This functionality applies to all the verb methods, including DropTarget, ExecuteCommand, and Dynamic Data Exchange (DDE).

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