Click or drag to resize

Shell32GetFileOpenWithAppName Method

Gets the "Open With" command that is associated with path from the registry.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static string GetFileOpenWithAppName(
	string path
)

Parameters

path
Type: SystemString
A path to the file.

Return Value

Type: String
The associated file- or protocol-related "Open With" command from the registry or string.Empty if no association can be found.
See Also