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
|
Method | Description | |
---|---|---|
ToShortPathName ( string longName ) : string |
Return short path format of a file name
|
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 |
public static IsAssociated ( string extension ) : bool | ||
extension | string | Extension to check |
return | bool |