C# Class ARCed.Helpers.FileAssociator

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

Public Methods

Method 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

Method Description
ToShortPathName ( string longName ) : string

Return short path format of a file name

Method Details

Associate() public static method

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
return void

IsAssociated() public static method

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