Method | Description | |
---|---|---|
CreateFileAssociation ( string extension, string className, string description, string exeProgram ) : bool |
Create the new file association
|
|
IsAdministrator ( ) : bool |
Returns true, if current user has administrator priviliges.
|
public static CreateFileAssociation ( string extension, string className, string description, string exeProgram ) : bool | ||
extension | string | Extension is the extension to be registered (eg ".cad") |
className | string | ClassName is the name of the associated class (eg "CADDoc") |
description | string | Description is the textual description (eg "CAD Document") |
exeProgram | string | ExeProgram is the app that manages that extension (eg "c:\Cad\MyCad.exe") |
return | bool |