C# Class FileAssociations, code

Show file Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
EnsureAssociationsSet ( ) : void
SetAssociation ( string extension, string progId, string fileTypeDescription, string applicationFilePath ) : bool

Private Methods

Method Description
SHChangeNotify ( int eventId, int flags, IntPtr, item1, IntPtr, item2 ) : int
SetKeyDefaultValue ( string keyPath, string value ) : bool

Method Details

EnsureAssociationsSet() public static method

public static EnsureAssociationsSet ( ) : void
return void

SetAssociation() public static method

public static SetAssociation ( string extension, string progId, string fileTypeDescription, string applicationFilePath ) : bool
extension string
progId string
fileTypeDescription string
applicationFilePath string
return bool