C# Class ARCed.Helpers.FileAssociator

Static class used for associated ARCed file types with the program and respective icons.
Afficher le fichier Open project: borisblizzard/arcreator

Méthodes publiques

Méthode Description
Associate ( string extension, string description, string icon, string application ) : void

Associate file extension with progID, description, icon and application

IsAssociated ( string extension ) : bool

Return true if extension already associated in registry

Private Methods

Méthode Description
ToShortPathName ( string longName ) : string

Return short path format of a file name

Method Details

Associate() public static méthode

Associate file extension with progID, description, icon and application
public static Associate ( string extension, string description, string icon, string application ) : void
extension string Extension to associate
description string Description of file type
icon string Path to icon to set for the file type
application string Path to icon to associate with this file type
Résultat void

IsAssociated() public static méthode

Return true if extension already associated in registry
public static IsAssociated ( string extension ) : bool
extension string Extension to check
Résultat bool