C# Class ZForge.Win32.FileAssociation.AssociationManager

Provides more streamlined interface for associating a single or multiple extensions with a single program.
Afficher le fichier Open project: zhuangyy/Motion

Méthodes publiques

Méthode Description
Associate ( string progId ) : void

Associates an already existing program id with a list of extensions.

Associate ( string progId, string executablePath ) : void

Associates a single executable with a list of extensions.

CheckAssociation ( string progId ) : string[]

Determines of the list of extensions are associated with the specified program id.

Method Details

Associate() public méthode

Associates an already existing program id with a list of extensions.
public Associate ( string progId ) : void
progId string The program id to associate extensions with.
Résultat void

Associate() public méthode

Associates a single executable with a list of extensions.
public Associate ( string progId, string executablePath ) : void
progId string Name of program id
executablePath string Path to executable to start including arguments.
Résultat void

CheckAssociation() public méthode

Determines of the list of extensions are associated with the specified program id.
public CheckAssociation ( string progId ) : string[]
progId string Program id to check against.
Résultat string[]