C# Class D16.VideoCommander.FileExtensionRegistry

Exibir arquivo Open project: feg-giessen/videocommander Class Usage Examples

Public Methods

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.

Method Details

CreateFileAssociation() public static method

Create the new file association
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

IsAdministrator() public static method

Returns true, if current user has administrator priviliges.
public static IsAdministrator ( ) : bool
return bool